diff options
author | Felix Endres | 2006-05-01 01:24:31 +0200 |
---|---|---|
committer | Felix Endres | 2006-05-01 01:24:31 +0200 |
commit | 7fd0f219c94c26219f484620ead3317926172d69 (patch) | |
tree | c2b9192a6ea55cb1454961fdbac6ceecddb580eb /initrd/initrd-stuff/init | |
parent | additions, fixups to/of several function files ... (diff) | |
download | core-7fd0f219c94c26219f484620ead3317926172d69.tar.gz core-7fd0f219c94c26219f484620ead3317926172d69.tar.xz core-7fd0f219c94c26219f484620ead3317926172d69.zip |
Debians udev is working now.
Bugs in the installer fixed
git-svn-id: http://svn.openslx.org/svn/openslx/ld4@206 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initrd/initrd-stuff/init')
-rwxr-xr-x | initrd/initrd-stuff/init | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/initrd/initrd-stuff/init b/initrd/initrd-stuff/init index 2a098f1e..92bc253d 100755 --- a/initrd/initrd-stuff/init +++ b/initrd/initrd-stuff/init @@ -48,6 +48,7 @@ preinit # start device auto discovery service - distro specific function udev_hotplug + # set defaults and create waitfor files TMPFSSIZE="50%" COWSIZE="50%" @@ -71,7 +72,11 @@ in $0\ncountry=\"${COUNTRY}\"" >> /etc/machine-setup DEBUGLEVEL=1;; # debug level debug=*) - DEBUGLEVEL=${opts#debug=};; + DEBUGLEVEL=${opts#debug=} + # Handle empty, extremly large or non-numeric input + [ -z "$DEBUGLEVEL" ] && DEBUGLEVEL=0 + [[ "101" < "$DEBUGLEVEL" ]]; DEBUGLEVEL=100 + ;; # if configuration should be gathered by dhcp client dhcp) DHCP="yes" |