1
0
mirror of https://github.com/QSCTech/zjunet.git synced 2026-01-22 11:44:48 +08:00

zjunet user list

This commit is contained in:
Zeno Zeng 2014-09-19 23:06:14 +08:00
parent ba16647a06
commit 15221c49c6
3 changed files with 21 additions and 5 deletions

View File

@ -8,8 +8,6 @@ Command Line Scripts for ZJU (VPN / WLAN / DNS)
- zjunet wlan
- zjunet dns
## 目标
- ZJU VPN
@ -18,7 +16,7 @@ Command Line Scripts for ZJU (VPN / WLAN / DNS)
- Arch Linux / Ubuntu 支持
- 路由器支持sh
- 路由器支持(written in sh
- 多拨支持(多账户负载均衡)

18
user.sh Executable file
View File

@ -0,0 +1,18 @@
#!/bin/sh
# init
CFG="$HOME/.zjunetrc"
touch $CFG
# dispatch
case "$1" in
add)
;;
edit)
;;
delete)
;;
list)
cat $CFG
;;
esac

View File

@ -9,8 +9,8 @@
BASEDIR=$(dirname $0)
case "$1" in
config)
zju_config
user)
"$BASEDIR/user.sh" $2
;;
ip)
ip route show 0/0 | cut -d " " -f 3