summaryrefslogtreecommitdiff
path: root/default-config/etc/archiso
diff options
context:
space:
mode:
Diffstat (limited to 'default-config/etc/archiso')
-rw-r--r--default-config/etc/archiso/functions12
-rw-r--r--default-config/etc/archiso/getshell9
2 files changed, 0 insertions, 21 deletions
diff --git a/default-config/etc/archiso/functions b/default-config/etc/archiso/functions
deleted file mode 100644
index fdd48f4..0000000
--- a/default-config/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/default-config/etc/archiso/getshell b/default-config/etc/archiso/getshell
deleted file mode 100644
index a6f8775..0000000
--- a/default-config/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}