summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorTobias Powalowski <tpowa@archlinux.org>2006-09-01 09:06:40 +0200
committerTobias Powalowski <tpowa@archlinux.org>2006-09-01 09:06:40 +0200
commit6056127b65235ae43c2854057f6612ee38400300 (patch)
tree5d1edfb95cbb09cc60e2f25f34b7fd409dd4ab60 /init
parentc0dbf1fe0dd2d8aff2fc9637c567fc42e3c9df18 (diff)
downloadmkinitcpio-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
Diffstat (limited to 'init')
-rw-r--r--init16
1 files changed, 12 insertions, 4 deletions
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}" '.' '_')"