diff options
Diffstat (limited to 'initramfs/stage3-stuff/bin/hwautocfg')
-rwxr-xr-x | initramfs/stage3-stuff/bin/hwautocfg | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/initramfs/stage3-stuff/bin/hwautocfg b/initramfs/stage3-stuff/bin/hwautocfg index 550afaa7..df1552d5 100755 --- a/initramfs/stage3-stuff/bin/hwautocfg +++ b/initramfs/stage3-stuff/bin/hwautocfg @@ -206,8 +206,9 @@ return 0 # load distro specific configuration variables and functions. distro # specific functions may overwrite functions defined in /etc/functions . /etc/distro-functions -# source general slx settings +# source general slx and initramfs-setup settings . /etc/slxsystem.conf +. /etc/initramfs-setup # script run timer [ $DEBUGLEVEL -eq 8 -o $DEBUGLEVEL -eq 21 ] && \ @@ -235,7 +236,12 @@ case $1 in # if required and mounting) disk) # if disk action is not disabled (see #470) - [ "x${hw_local_disk}" != "xno" ] && disk + if [ "x${hw_local_disk}" != "xno" ] ; then + disk + else + echo "using harddisk switched off by hw_local_disk set to 'no' ( $(sysup) )" \ + >/tmp/tmpready + fi ;; # remove unneeded kernel modules finish) |