summaryrefslogtreecommitdiffhomepage
path: root/core/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'core/contrib')
-rw-r--r--core/contrib/hotplug.d-20-aliases24
-rw-r--r--core/contrib/uci/luci2
2 files changed, 1 insertions, 25 deletions
diff --git a/core/contrib/hotplug.d-20-aliases b/core/contrib/hotplug.d-20-aliases
deleted file mode 100644
index b9986e3aa..000000000
--- a/core/contrib/hotplug.d-20-aliases
+++ /dev/null
@@ -1,24 +0,0 @@
-add_aliases() {
- local config="$1"
-
- config_get base "$INTERFACE" ifname
- config_get iface "$config" ifname
- config_get ipaddr "$config" ipaddr
- config_get auto "$config" auto
-
- [ "${iface%%:*}" == "$base" -a "$iface" != "$base" ] && {
- case "$auto" in
- 1|on|enabled) setup_interface "$iface" "$config";;
- *) return 1;;
- esac
- }
-}
-
-
-case "$ACTION" in
- ifup)
- include /lib/network
- scan_interfaces
- config_foreach "add_aliases" interface
- ;;
-esac
diff --git a/core/contrib/uci/luci b/core/contrib/uci/luci
index a3603d7ff..292e8f2b2 100644
--- a/core/contrib/uci/luci
+++ b/core/contrib/uci/luci
@@ -17,7 +17,7 @@ config extern flash_keep
config event uci_oncommit
option network "/etc/init.d/network restart"
option wireless "/etc/init.d/network restart"
- option olsr "/etc/init.d/olsrd restart"
+ option olsr "reboot"
option dhcp "/etc/init.d/dnsmasq restart"
option luci_fw "/etc/init.d/luci_fw restart"
option dropbear "/etc/init.d/dropbear restart"