Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/default-config/etc/archiso
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2006-09-19 18:08:10 +0000
committerAaron Griffin <aaron@archlinux.org>2006-09-19 18:08:10 +0000
commit59ddc5be61a1ee5dadc32c8a2255931d62bbce2a (patch)
treee68bbecc87bc854d3097d9dd6f8b850bc50325cc /default-config/etc/archiso
parent8660ae6b5a7209f6583926673af75b52b1b4f523 (diff)
git-svn-id: http://phraktured.net/archiso@12 00a9fe69-e71b-0410-bb23-df0e5024db41
Diffstat (limited to 'default-config/etc/archiso')
-rw-r--r--default-config/etc/archiso/functions2
-rw-r--r--default-config/etc/archiso/getshell1
2 files changed, 2 insertions, 1 deletions
diff --git a/default-config/etc/archiso/functions b/default-config/etc/archiso/functions
index bf224dc..2972013 100644
--- a/default-config/etc/archiso/functions
+++ b/default-config/etc/archiso/functions
@@ -6,6 +6,6 @@ cmdline_param ()
$1=*) echo "${param##*=}"; break ;;
*) continue ;;
esac
+ echo "${2}"
done < read /proc/cmdline
- echo "${2}"
}
diff --git a/default-config/etc/archiso/getshell b/default-config/etc/archiso/getshell
index c61c56c..41ec0c6 100644
--- a/default-config/etc/archiso/getshell
+++ b/default-config/etc/archiso/getshell
@@ -1,6 +1,7 @@
#!/bin/sh
. /etc/archiso/functions
+
shell="$(cmdline_param shell)"
[ -n "${shell}" ] && shell="/bin/bash"
[ ! -e "${shell}" ] && shell="/bin/sh"