summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2006-10-24 10:59:18 +0200
committerThomas Bächler <thomas@archlinux.org>2006-10-24 10:59:18 +0200
commit8fe5878427767b06abc9378137f2c826fe610d8d (patch)
treeed09665d84fd1b003bd7c2ad60c53f6870a1dc85 /init
parent1aff64ef1d0749c6b883ff6ae966ea5516cf87bd (diff)
downloadmkinitcpio-8fe5878427767b06abc9378137f2c826fe610d8d.tar.gz
mkinitcpio-8fe5878427767b06abc9378137f2c826fe610d8d.tar.xz
- Preset changes to better config file format
- Global kver for all images in a preset - Allow comments (#) in kernel commandline git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@182 880c04e9-e011-0410-abf7-b926e227c9cd
Diffstat (limited to 'init')
-rw-r--r--init1
1 files changed, 1 insertions, 0 deletions
diff --git a/init b/init
index a1a7793..20d902e 100644
--- a/init
+++ b/init
@@ -18,6 +18,7 @@ echo "/bin/modprobe" > /proc/sys/kernel/modprobe
for cmd in $CMDLINE; do
case "$cmd" in
+ \#*) break ;; # ignore everything after a # in the commandline
[0123456Ss]) export runlevel="$cmd" ;;
single) export runlevel="S" ;; #some people use 'single'
# replace can cause problems for the following entries