Преглед на файлове

fixed FW update and network config

Danja Vasiliev преди 10 години
родител
ревизия
8788b9fa88
променени са 2 файла, в които са добавени 17 реда и са изтрити 0 реда
  1. 8 0
      openwrt/common/opt/lib/scripts/fw-upgrade.sh
  2. 9 0
      openwrt/common/opt/lib/scripts/net-restart.sh

+ 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