mirror of
https://github.com/QSCTech/zjunet.git
synced 2026-01-22 19:54:48 +08:00
add --version, fixes #38
This commit is contained in:
parent
4f487eee37
commit
ca04f1b112
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
VERSION=0.1.0-7
|
||||
VERSION=0.1.0-8
|
||||
|
||||
cd debian
|
||||
./build.sh $VERSION > /dev/null
|
||||
|
||||
@ -21,7 +21,7 @@ Version: $VERSION
|
||||
Section: net
|
||||
Priority: optional
|
||||
Architecture: all
|
||||
Depends: xl2tpd (>= 1.3.1), curl
|
||||
Depends: xl2tpd, curl
|
||||
Maintainer: Zeno Zeng <zenoofzeng@gmail.com>
|
||||
Description: Command Line Scripts for ZJU
|
||||
This script provides a VPN / WLAN / NEXTHOP for ZJUer.
|
||||
|
||||
@ -21,7 +21,7 @@ Version: $VERSION
|
||||
Section: net
|
||||
Priority: optional
|
||||
Architecture: all
|
||||
Depends: xl2tpd (>= 1.3.1), curl
|
||||
Depends: xl2tpd, curl
|
||||
Maintainer: Zeno Zeng <zenoofzeng@gmail.com>
|
||||
Description: Command Line Scripts for ZJU
|
||||
This script provides a VPN / WLAN / NEXTHOP for ZJUer.
|
||||
|
||||
@ -40,6 +40,9 @@ case "$1" in
|
||||
dns)
|
||||
"${BASEDIR}/dns.sh"
|
||||
;;
|
||||
--version)
|
||||
echo "zjunet version: zjunet-0.1.0"
|
||||
;;
|
||||
*)
|
||||
cat <<EOF
|
||||
zjunet: CLI Tool (VPN/WLAN/DNS) for Zjuer
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user