diff options
author | Aaron Griffin <aaron@archlinux.org> | 2006-09-19 18:08:10 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2006-09-19 18:08:10 +0000 |
commit | 59ddc5be61a1ee5dadc32c8a2255931d62bbce2a (patch) | |
tree | e68bbecc87bc854d3097d9dd6f8b850bc50325cc /default-config/etc/archiso | |
parent | 8660ae6b5a7209f6583926673af75b52b1b4f523 (diff) | |
download | archiso32-59ddc5be61a1ee5dadc32c8a2255931d62bbce2a.tar.xz |
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/functions | 2 | ||||
-rw-r--r-- | default-config/etc/archiso/getshell | 1 |
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"
|