index : archiso32 | |
Archlinux32 iso tools | gitolite user |
summaryrefslogtreecommitdiff |
author | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2011-05-01 17:04:11 -0300 |
---|---|---|
committer | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2011-05-01 17:04:11 -0300 |
commit | a8c1c0cb6ff5a4c89a3e248f1d18917fc5e73202 (patch) | |
tree | 2e6d1073648267648295c933afec7b4558e4a571 /configs/syslinux-iso/overlay/etc/rc.d | |
parent | 13193bc0ba657ddb22b1013f3ff6b786fe58445c (diff) |
-rw-r--r-- | configs/syslinux-iso/overlay/etc/rc.d/functions.d/archiso | 20 | ||||
-rw-r--r-- | configs/syslinux-iso/overlay/etc/rc.d/functions.d/automated_script | 2 |
diff --git a/configs/syslinux-iso/overlay/etc/rc.d/functions.d/archiso b/configs/syslinux-iso/overlay/etc/rc.d/functions.d/archiso deleted file mode 100644 index 02b41cf..0000000 --- a/configs/syslinux-iso/overlay/etc/rc.d/functions.d/archiso +++ /dev/null @@ -1,20 +0,0 @@ -# vim: set ft=sh: - -# kernel_cmdline <param> -# Looks for a parameter on the kernel's boot-time command line. -# -# returns: 0 if param was found. Also prints its value if it was a K=V param. -# 1 if it was not -# -kernel_cmdline () -{ - for param in $(/bin/cat /proc/cmdline); do - case "${param}" in - $1=*) echo "${param##*=}"; return 0 ;; - $1) return 0 ;; - *) continue ;; - esac - done - - return 1 -} diff --git a/configs/syslinux-iso/overlay/etc/rc.d/functions.d/automated_script b/configs/syslinux-iso/overlay/etc/rc.d/functions.d/automated_script index 7a35acb..edb8ea3 100644 --- a/configs/syslinux-iso/overlay/etc/rc.d/functions.d/automated_script +++ b/configs/syslinux-iso/overlay/etc/rc.d/functions.d/automated_script @@ -1,3 +1,5 @@ +. /etc/archiso/functions + automated_script () { script="$(kernel_cmdline script)" |