X-Git-Url: http://git.grml.org/?p=grml-autoconfig.git;a=blobdiff_plain;f=autoconfig.functions;h=03e4aac78367e63eaf965d369ef291aa8cb362f4;hp=344929bcf7a9db1d894a2b5f703ab0b571581377;hb=24cdc08ddb22a13bc6296c85d3f749097c51ee0e;hpb=1c1a58499d78615efd64540abe41d0dc31bdb6d0 diff --git a/autoconfig.functions b/autoconfig.functions index 344929b..03e4aac 100755 --- a/autoconfig.functions +++ b/autoconfig.functions @@ -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' ' ')" # }}}