1
0
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:
Zeno Zeng 2014-09-30 21:26:38 +08:00
parent 4f487eee37
commit ca04f1b112
4 changed files with 6 additions and 3 deletions

View File

@ -1,6 +1,6 @@
#!/bin/bash
VERSION=0.1.0-7
VERSION=0.1.0-8
cd debian
./build.sh $VERSION > /dev/null

View File

@ -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.

View File

@ -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.

View File

@ -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