Added tag 0.5-27 for changeset 723833b2ecfc27650f89a8afd8f3f1fcf327538a
[grml-autoconfig.git] / autoconfig.functions
index 344929b..03e4aac 100755 (executable)
@@ -89,6 +89,7 @@ mount_sys(){
 # }}}
 
 # {{{ Read in boot parameters
+[ -f /proc/version ] || mount_proc # make sure we can access /proc/cmdline when sourcing this file too
 CMDLINE="$(cat /proc/cmdline)"
 [ -d /cdrom/bootparams/ ] && CMDLINE="$CMDLINE $(cat /cdrom/bootparams/* | tr '\n' ' ')"
 # }}}