]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
network/dhclient-script.sh: also touch "/tmp/setup_net_<mac>.ok"
authorHarald Hoyer <harald@redhat.com>
Wed, 23 Jan 2013 13:08:23 +0000 (14:08 +0100)
committerHarald Hoyer <harald@redhat.com>
Wed, 23 Jan 2013 14:24:27 +0000 (15:24 +0100)
modules.d/40network/dhclient-script.sh

index a619c0422eda13de26e37cb5c06808b04c6d502d..8887add6476bf5622498033335c001e424557058 100755 (executable)
@@ -88,6 +88,7 @@ case $reason in
             echo "source_hook initqueue/online $netif"
             [ -e /tmp/net.$netif.manualup ] || echo "/sbin/netroot $netif"
             echo "> /tmp/setup_net_$netif.ok"
+            echo "> /tmp/setup_net_\$(cat /sys/class/net/$netif/address).ok"
             echo "rm -f $hookdir/initqueue/setup_net_$netif.sh"
         } > $hookdir/initqueue/setup_net_$netif.sh