From c087aaddc8a9ae4bf6348692a3be611613039421 Mon Sep 17 00:00:00 2001 From: Felix Endres Date: Fri, 13 Jan 2006 19:27:12 +0000 Subject: Hack: Xorg-Config Datei in hwautoconf hardkodiert /var/lib/gdm als RO in RW für Debian git-svn-id: http://svn.openslx.org/svn/openslx/dxs/ld4@13 95ad53e4-c205-0410-b2fa-d234c58c8868 --- initrd/initrd-stuff/init | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'initrd/initrd-stuff/init') diff --git a/initrd/initrd-stuff/init b/initrd/initrd-stuff/init index 3c4a34f0..f3317a07 100755 --- a/initrd/initrd-stuff/init +++ b/initrd/initrd-stuff/init @@ -107,12 +107,12 @@ might pass that information via kernel command line\n through setting of \ enabled via tokens ('ldap' or 'dhcp') in kernel\n command line." fi fi -[ -z "$DHCP" -a -n "$LDAP" -a -z "$IPINFO" ] && error " Unable to setup at \ -might pass that information via kernel command line\n through setting of \ -'ipappend 1' in pxelinux.cfg/* or just enable dhcp\n or ldap. They are \ -enabled via tokens ('ldap' or 'dhcp') in kernel\n command line." - fi -fi +#[ -z "$DHCP" -a -n "$LDAP" -a -z "$IPINFO" ] && error " Unable to setup at \ +#might pass that information via kernel command line\n through setting of \ +#'ipappend 1' in pxelinux.cfg/* or just enable dhcp\n or ldap. They are \ +#enabled via tokens ('ldap' or 'dhcp') in kernel\n command line." +# fi +#fi [ -z "$DHCP" -a -n "$LDAP" -a -z "$IPINFO" ] && error " Unable to setup at \ least basic functionality, because no IP configuration\n available. Please \ beware - ldap works only in combination of either\n ipappend or similar or \ @@ -210,9 +210,9 @@ fi if [ -z "${DNBDOPT}" -a -z "${NBDOPT}" ] ; then nfsmnt ${NFSROOT} ${MODPRV} fi - - You might want to check the list of mounted filesystems and if /mnt is\n\ - not empty run 'ls /mnt/lib/modules' to check." +# Bruchstücke?? Was hat das hier verloren? +# You might want to check the list of mounted filesystems and if /mnt is\n\ +# not empty run 'ls /mnt/lib/modules' to check." # start hardware configuration as background process hwautocfg & @@ -264,7 +264,7 @@ else [ -z "${NOLDSC}" ] && echo -e "ld.so.cache*" >>/tmp/etc.exclude # for tar exclude lists might be used, more difficult for cp cd /mnt - tar -X /tmp/etc.exclude -cp etc/* 2>/dev/null| \ + tar -X /tmp/etc.exclude -cp etc/* | \ tar -xp -C ${RWDIR}>/dev/null ; cd / mount -n --bind ${RWDIR}/etc /mnt/etc @@ -304,7 +304,6 @@ usbfs\t\t/proc/bus/usb\tusbfs\t\tnoauto\t\t 0 0">/mnt/etc/fstab || \ error "Failed to create /etc/fstab in the clients root filesystem. The\n\ noexistence of the file might produce some unexpected behaviour of\n\ mount commands." - date # copy library cache if generated if [ -z "${NOLDSC}" ] ; then -- cgit v1.2.3-55-g7522