摘要:
#!/bin/bash #获取参数 while getopts "n:" opt; do case $opt in n) client_name=$OPTARG ;; \?) ;; esac done cd /etc/openvpn/easy-rsa/2.0 sourc... 阅读全文
posted @ 2017-11-08 12:00
Oops!#
阅读(280)
评论(0)
推荐(0)
摘要:
#!/bin/bash dir=/etc/openvpn #file=AD00012 basepath=$(cd `dirname $0`; pwd) PACKAGE_DIR="${basepath}/package" if [ -d $dir ];then echo -e "\033[34m 目录已存在.. \033[0m" else mkdir $dir fi #获取... 阅读全文
posted @ 2017-11-08 11:58
Oops!#
阅读(2208)
评论(0)
推荐(0)