include functions and network config in hotplug
authorFelix Fietkau <nbd@openwrt.org>
Mon, 7 Nov 2005 02:18:59 +0000 (02:18 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 7 Nov 2005 02:18:59 +0000 (02:18 +0000)
SVN-Revision: 2370

openwrt/package/base-files/default/sbin/hotplug

index 57ee969cf7b488b2d351f601b5916f688f403092..4e009593af3b56c8aba1d4bc1f8c708b7562d619 100755 (executable)
@@ -1,4 +1,8 @@
 #!/bin/sh
+. /etc/functions.sh
+. /etc/network.overrides
+[ "$FAILSAFE" != "true" -a -e /etc/config/network ] && . /etc/config/network
+
 PATH=/bin:/sbin:/usr/bin:/usr/sbin
 LOGNAME=root
 USER=root