Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

锐捷Web认证脚本

一个基于curl的认证脚本,用于认证校园网。

RUN IN OPENWRT TERMINAL

sh /etc/config/login.sh >> /tmp/login.log 2>&1

OPENWRT CRONTAB RULES

0-15 6 * * 0-7 sh /etc/config/login.sh >> /tmp/login.log 2>&1
0 0 * * 0 rm /tmp/login.log

OPENWRT RC.LOCAL FILE

# 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

About

锐捷Web认证脚本

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages