summaryrefslogtreecommitdiff
path: root/configs/xfce4/overlay/etc/archiso/functions
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2008-09-06 23:54:38 -0500
committerAaron Griffin <aaronmgriffin@gmail.com>2008-09-06 23:54:38 -0500
commit6f9cdf5958a8e56381d6776c95dfb3908a0f5c3e (patch)
treeeb5eb05651ec1c89550ce577527b663512c3232e /configs/xfce4/overlay/etc/archiso/functions
parent59b50c5b8058f981f54c29c2e07cc5b47b74ef1d (diff)
downloadarchiso32-6f9cdf5958a8e56381d6776c95dfb3908a0f5c3e.tar.xz
Added Simo's XFCE4 config
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'configs/xfce4/overlay/etc/archiso/functions')
-rw-r--r--configs/xfce4/overlay/etc/archiso/functions12
1 files changed, 12 insertions, 0 deletions
diff --git a/configs/xfce4/overlay/etc/archiso/functions b/configs/xfce4/overlay/etc/archiso/functions
new file mode 100644
index 0000000..fdd48f4
--- /dev/null
+++ b/configs/xfce4/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}"
+}