summaryrefslogtreecommitdiff
path: root/configs/install-iso/overlay/etc/archiso/functions
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2008-09-06 20:45:45 -0500
committerAaron Griffin <aaronmgriffin@gmail.com>2008-09-06 20:45:45 -0500
commit98318ea039c39bff953c6b83010e48791ee6d286 (patch)
treeb817b6594cea311c3fdfe31dabbe33d80e56a5c5 /configs/install-iso/overlay/etc/archiso/functions
parent8966351b12bbcf2f8fffbd8c3a4b00e7529349b8 (diff)
downloadarchiso32-98318ea039c39bff953c6b83010e48791ee6d286.tar.xz
Rename "default-config" to "overlay"
I like difficulty and then name was annoying me Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'configs/install-iso/overlay/etc/archiso/functions')
-rw-r--r--configs/install-iso/overlay/etc/archiso/functions12
1 files changed, 12 insertions, 0 deletions
diff --git a/configs/install-iso/overlay/etc/archiso/functions b/configs/install-iso/overlay/etc/archiso/functions
new file mode 100644
index 0000000..fdd48f4
--- /dev/null
+++ b/configs/install-iso/overlay/etc/archiso/functions
@@ -0,0 +1,12 @@
+# 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}"
+}