From 9c827a68c1fb88ce9cf47fe9d944c788390b8e70 Mon Sep 17 00:00:00 2001 From: nbd Date: Mon, 7 Nov 2005 02:18:59 +0000 Subject: include functions and network config in hotplug git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2370 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- openwrt/package/base-files/default/sbin/hotplug | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'openwrt/package/base-files/default/sbin/hotplug') diff --git a/openwrt/package/base-files/default/sbin/hotplug b/openwrt/package/base-files/default/sbin/hotplug index 57ee969cf..4e009593a 100755 --- a/openwrt/package/base-files/default/sbin/hotplug +++ b/openwrt/package/base-files/default/sbin/hotplug @@ -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 -- cgit v1.2.3