projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
small cleanup
[openwrt.git]
/
package
/
base-files
/
files
/
lib
/
network
/
config.sh
diff --git
a/package/base-files/files/lib/network/config.sh
b/package/base-files/files/lib/network/config.sh
index
95954bf
..
cab2e06
100755
(executable)
--- a/
package/base-files/files/lib/network/config.sh
+++ b/
package/base-files/files/lib/network/config.sh
@@
-24,6
+24,7
@@
find_config() {
}
scan_interfaces() {
}
scan_interfaces() {
+ local cfgfile="$1"
local mode iftype iface ifname device
interfaces=
config_cb() {
local mode iftype iface ifname device
interfaces=
config_cb() {
@@
-50,7
+51,7
@@
scan_interfaces() {
;;
esac
}
;;
esac
}
- config_load
network
+ config_load
"${cfgfile:-network}"
}
add_vlan() {
}
add_vlan() {
@@
-157,7
+158,7
@@
setup_interface() {
done
}
done
}
- env -i ACTION="ifup" INTERFACE="$config" DEVICE="$iface" PROTO=static /sbin/hotplug "iface" &
+ env -i ACTION="ifup" INTERFACE="$config" DEVICE="$iface" PROTO=static /sbin/hotplug
-call
"iface" &
;;
dhcp)
# prevent udhcpc from starting more than once
;;
dhcp)
# prevent udhcpc from starting more than once
This page took
0.021795 seconds
and
4
git commands to generate.