From 6056127b65235ae43c2854057f6612ee38400300 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Fri, 1 Sep 2006 07:06:40 +0000 Subject: '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 --- init | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'init') diff --git a/init b/init index cd37e04..54df331 100644 --- a/init +++ b/init @@ -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}" '.' '_')" -- cgit v1.2.3-24-g4f1b