summaryrefslogtreecommitdiff
path: root/configs/default/overlay/etc/archiso
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2008-12-21 02:10:57 -0600
committerAaron Griffin <aaronmgriffin@gmail.com>2008-12-21 02:10:57 -0600
commit77e9ea45caa7608557b1443acf0ae7d1b27248de (patch)
tree970e4e25a34abd604784f4c47477b97f345c2a8a /configs/default/overlay/etc/archiso
parent97f4dcec818f98a6580443f33f716342c05f2861 (diff)
downloadarchiso32-77e9ea45caa7608557b1443acf0ae7d1b27248de.tar.xz
Revamp the simple sample ISO config
Should be easier and cleaner. Makes a dumb ISO that does nothing but is intended as an example to the user. Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'configs/default/overlay/etc/archiso')
-rw-r--r--configs/default/overlay/etc/archiso/functions12
-rw-r--r--configs/default/overlay/etc/archiso/getshell9
2 files changed, 0 insertions, 21 deletions
diff --git a/configs/default/overlay/etc/archiso/functions b/configs/default/overlay/etc/archiso/functions
deleted file mode 100644
index fdd48f4..0000000
--- a/configs/default/overlay/etc/archiso/functions
+++ /dev/null
@@ -1,12 +0,0 @@
-# vim: set ft=sh:
-
-cmdline_param ()
-{
- for param in ${CMDLINE}; do
- case "${param}" in
- $1=*) echo "${param##*=}"; return ;;
- *) continue ;;
- esac
- done
- [ -n "${2}" ] && echo "${2}"
-}
diff --git a/configs/default/overlay/etc/archiso/getshell b/configs/default/overlay/etc/archiso/getshell
deleted file mode 100644
index a6f8775..0000000
--- a/configs/default/overlay/etc/archiso/getshell
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-. /etc/archiso/functions
-
-shell="$(cmdline_param shell)"
-[ -n "${shell}" ] && shell="/bin/bash"
-[ ! -e "${shell}" ] && shell="/bin/sh"
-
-exec ${shell}