From 5c56aefa6bbb272dfb6f402a19d0cfc682e89ce5 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Tue, 12 Sep 2006 15:42:58 +0000 Subject: git-svn-id: http://phraktured.net/archiso@7 00a9fe69-e71b-0410-bb23-df0e5024db41 --- default-config/etc/archiso/functions | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 default-config/etc/archiso/functions (limited to 'default-config/etc/archiso/functions') 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}" +} -- cgit v1.2.3-70-g09d2