X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/5dfad9395848f74699752473b825635c30fb5567..9c827a68c1fb88ce9cf47fe9d944c788390b8e70:/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