소스 검색

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