From 0988b541670d630cf22628e3cdd282cb542239db Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 7 Nov 2005 02:18:59 +0000 Subject: [PATCH] include functions and network config in hotplug SVN-Revision: 2370 --- openwrt/package/base-files/default/sbin/hotplug | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/openwrt/package/base-files/default/sbin/hotplug b/openwrt/package/base-files/default/sbin/hotplug index 57ee969cf7..4e009593af 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 -- 2.30.2