OpenWrt_Luci_Lua/smart_wifi_code/5.25/smart_wifi

5 lines
252 B
Plaintext
Raw Normal View History

2015-05-25 09:57:30 +00:00
#!/bin/sh
echo "" >> /etc/crontabs/root;
echo "$1 $2 * * $3 /sbin/wifi down mt7628;sleep 4; sed -i '/$1$2$3/d' /etc/crontabs/root; crontab /etc/crontab/root; # $1$2$3 " >> /etc/crontabs/root; crontab /etc/crontabs/root;
echo "" >> /etc/crontabs/root;