summaryrefslogtreecommitdiffstats
path: root/initramfs
diff options
context:
space:
mode:
Diffstat (limited to 'initramfs')
-rw-r--r--initramfs/initrd-stuff/etc/functions2
-rwxr-xr-xinitramfs/initrd-stuff/init1
2 files changed, 1 insertions, 2 deletions
diff --git a/initramfs/initrd-stuff/etc/functions b/initramfs/initrd-stuff/etc/functions
index a3311d79..8b4a0ee5 100644
--- a/initramfs/initrd-stuff/etc/functions
+++ b/initramfs/initrd-stuff/etc/functions
@@ -284,7 +284,7 @@ fi
}
#############################################################################
-# dhcp client function (supporting dhclient, dhcpcd, pump, udhcpc)
+# dhcp client function (supporting dhclient and udhcp, latter is preferred)
rundhcp ()
{
local vci="$1"
diff --git a/initramfs/initrd-stuff/init b/initramfs/initrd-stuff/init
index 15d88fc9..ccc0528d 100755
--- a/initramfs/initrd-stuff/init
+++ b/initramfs/initrd-stuff/init
@@ -271,7 +271,6 @@ if [ ${DEBUGLEVEL} -lt 3 -o ${DEBUGLEVEL} = 8 ] ; then
#!/bin/ash
echo \$$ > /tmp/watchdogpid
[ ! -f /proc/version ] && mount -n -t proc proc /proc
-. /etc/functions
sleep 120 2> /dev/null
echo "o" > /proc/sysrq-trigger
EOF