Add l2tp command

This commit is contained in:
Teddysun 2016-06-10 22:34:24 +09:00
parent 021b4ecf01
commit 878a2bdf0c

View File

@ -704,6 +704,8 @@ finally(){
cd ${cur_dir} cd ${cur_dir}
rm -fr ${cur_dir}/l2tp rm -fr ${cur_dir}/l2tp
# create l2tp command
cp -f ${cur_dir}/l2tp.sh /usr/bin/l2tp
echo "Please wait a moment..." echo "Please wait a moment..."
sleep 5 sleep 5
@ -758,7 +760,6 @@ list_users(){
fi fi
echo "========== Users List ==========" echo "========== Users List =========="
grep -v "^#" /etc/ppp/chap-secrets | awk '{print $1}' grep -v "^#" /etc/ppp/chap-secrets | awk '{print $1}'
echo "================================"
} }
add_user(){ add_user(){