Browse Source

fixed FW update and network config

Danja Vasiliev 10 years ago
parent
commit
8788b9fa88

+ 8 - 0
openwrt/common/opt/lib/scripts/fw-upgrade.sh

@@ -0,0 +1,8 @@
+#!/bin/sh
+
+sleep 3
+
+sysupgrade -v $1 > /tmp/fw-upgrade.log
+
+exit 0
+

+ 9 - 0
openwrt/common/opt/lib/scripts/net-restart.sh

@@ -0,0 +1,9 @@
+#!/bin/sh
+
+sleep 3
+
+/sbin/wifi
+/etc/init.d/network restart
+/etc/init.d/dnsmasq restart
+
+exit 0