一个基于curl的认证脚本,用于认证校园网。
sh /etc/config/login.sh >> /tmp/login.log 2>&10-15 6 * * 0-7 sh /etc/config/login.sh >> /tmp/login.log 2>&1
0 0 * * 0 rm /tmp/login.log# Put your custom commands here that should be executed once
# the system init finished. By default this file does nothing.
(sleep 10; wifi) & #(MT7921E ADAPTED)
sleep 45
sh /etc/config/login.sh >> /tmp/login.log 2>&1
exit 0