diff options
author | Tobias Powalowski <tpowa@archlinux.org> | 2006-09-01 09:06:40 +0200 |
---|---|---|
committer | Tobias Powalowski <tpowa@archlinux.org> | 2006-09-01 09:06:40 +0200 |
commit | 6056127b65235ae43c2854057f6612ee38400300 (patch) | |
tree | 5d1edfb95cbb09cc60e2f25f34b7fd409dd4ab60 | |
parent | c0dbf1fe0dd2d8aff2fc9637c567fc42e3c9df18 (diff) | |
download | mkinitcpio-6056127b65235ae43c2854057f6612ee38400300.tar.gz mkinitcpio-6056127b65235ae43c2854057f6612ee38400300.tar.xz |
'upgpkg: added hardcoded parameters to be skipped from reaplce, until we find a better solution'
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@165 880c04e9-e011-0410-abf7-b926e227c9cd
-rw-r--r-- | init | 16 |
1 files changed, 12 insertions, 4 deletions
@@ -20,11 +20,19 @@ for cmd in $CMDLINE; do case "$cmd" in [0123456Ss]) export runlevel="$cmd" ;; single) export runlevel="S" ;; #some people use 'single' + # replace can cause problems for the following entries + # These should only be applied to the lefthand side of the expression + # until we find a fix hardcode the stuff here. + root=*) export "${cmd}";; + md=*) export "${cmd}" ;; + crypto=*) export "${cmd}" ;; + resume2=*) export "${cmd}" ;; + ip=*) export "${cmd}" ;; + nfsaddrs=*) export "${cmd}" ;; + nfsroot=*) export "${cmd}" ;; # only export stuff that does work with dash :) - *=*) # These should only be applied to the lefthand side of the expression - # Disable them until a fix is available, as they break things - #cmd="$(replace "${cmd}" '.' '_')" - #cmd="$(replace "${cmd}" '-' '_')" + *=*) cmd="$(replace "${cmd}" '.' '_')" + cmd="$(replace "${cmd}" '-' '_')" export "${cmd}" ;; *) cmd="$(replace "${cmd}" '.' '_')" |