diff options
author | Dirk von Suchodoletz | 2009-06-17 16:01:15 +0200 |
---|---|---|
committer | Dirk von Suchodoletz | 2009-06-17 16:01:15 +0200 |
commit | 80b8297c9eeaf041cc3aec549ebc938b33a82fe8 (patch) | |
tree | 0270928df248d11b103fb9610599aaa97119ebb5 /initramfs | |
parent | vmchooser various changes: (diff) | |
download | core-80b8297c9eeaf041cc3aec549ebc938b33a82fe8.tar.gz core-80b8297c9eeaf041cc3aec549ebc938b33a82fe8.tar.xz core-80b8297c9eeaf041cc3aec549ebc938b33a82fe8.zip |
Suppress some unused variables in dhcp configuration, quieten wget ...
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2963 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs')
-rwxr-xr-x | initramfs/stage3-stuff/bin/dhcpmkconfig | 3 | ||||
-rwxr-xr-x | initramfs/stage3-stuff/init | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/initramfs/stage3-stuff/bin/dhcpmkconfig b/initramfs/stage3-stuff/bin/dhcpmkconfig index c8bf73d8..87e48683 100755 --- a/initramfs/stage3-stuff/bin/dhcpmkconfig +++ b/initramfs/stage3-stuff/bin/dhcpmkconfig @@ -21,7 +21,8 @@ set -x echo -e "# network configuration written by $0:" >/tmp/confviadhcp -unset infomsg HOME IFS mask lease interface cfgmsg cfgfile DEBUGLEVEL +unset HOME IFS KCMDLINE DEBUGLEVEL MODPRV TERM BOOTIF BOOT_IMAGE \ + infomsg mask lease interface cfgmsg cfgfile boot_file no_bootsplash set | sed \ -e "s,^P.*,,;s,ntpsrv,ntp_servers,;s,ip,clientip," \ -e "s,serverid,serverip,;s,subnet,subnet_mask," \ diff --git a/initramfs/stage3-stuff/init b/initramfs/stage3-stuff/init index b250d043..fd15bd4c 100755 --- a/initramfs/stage3-stuff/init +++ b/initramfs/stage3-stuff/init @@ -711,7 +711,7 @@ fi [ $DEBUGLEVEL -eq 8 -o $DEBUGLEVEL -eq 20 ] && \ echo "** Filesystem setup started at $(sysup)" # setup of client root filesystem dependent on the availability of UnionFS -if [ -n "${union_type}" ] ; then +if [ "x${union_type}" != "x" ] ; then echo "Using ${union_type} for rw access" mkdir -p ${rwdir}/union ${rwdir}/uniontmp /rorootfs # adapting tempfs size of the device directory (takes /tmp in stage4) |