Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/configs/default/default-config/etc/archiso/functions
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2008-09-06 20:39:35 -0500
committerAaron Griffin <aaronmgriffin@gmail.com>2008-09-06 20:39:35 -0500
commit8966351b12bbcf2f8fffbd8c3a4b00e7529349b8 (patch)
treea54505adcbc029bce687788150df4383e5e936e0 /configs/default/default-config/etc/archiso/functions
parent99ed5349b32951fa1ec28cc2ee3caaff83fcd681 (diff)
Split mkarchiso and configs into logical parts
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'configs/default/default-config/etc/archiso/functions')
-rw-r--r--configs/default/default-config/etc/archiso/functions12
1 files changed, 12 insertions, 0 deletions
diff --git a/configs/default/default-config/etc/archiso/functions b/configs/default/default-config/etc/archiso/functions
new file mode 100644
index 0000000..fdd48f4
--- /dev/null
+++ b/configs/default/default-config/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}"
+}