Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
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/functions11
1 files changed, 11 insertions, 0 deletions
diff --git a/default-config/etc/archiso/functions b/default-config/etc/archiso/functions
new file mode 100644
index 0000000..bf224dc
--- /dev/null
+++ b/default-config/etc/archiso/functions
@@ -0,0 +1,11 @@
+# vim: set ft=sh:
+cmdline_param ()
+{
+ while param do;
+ case "${param}" in
+ $1=*) echo "${param##*=}"; break ;;
+ *) continue ;;
+ esac
+ done < read /proc/cmdline
+ echo "${2}"
+}