2
0
forked from Ivasoft/openwrt

base-files: preinit: get rid of /dev/null redirections and use grep -q where applicable

SVN-Revision: 19478
This commit is contained in:
Jo-Philipp Wich
2010-02-01 00:32:46 +00:00
parent 34c0c72a6e
commit e367f5434a
5 changed files with 10 additions and 6 deletions

View File

@@ -161,6 +161,10 @@ setup_interface_none() {
env -i ACTION="ifup" INTERFACE="$2" DEVICE="$1" PROTO=none /sbin/hotplug-call "iface" &
}
stop_interface_none() {
env -i ACTION="ifdown" INTERFACE="$2" DEVICE="$1" PROTO=none /sbin/hotplug-call "iface" &
}
setup_interface_static() {
local iface="$1"
local config="$2"