mirror of
https://github.com/teddysun/across.git
synced 2025-10-29 16:05:32 +08:00
3
l2tp.sh
3
l2tp.sh
@@ -10,6 +10,7 @@ export PATH
|
|||||||
cur_dir=`pwd`
|
cur_dir=`pwd`
|
||||||
|
|
||||||
libreswan_filename="libreswan-3.22"
|
libreswan_filename="libreswan-3.22"
|
||||||
|
download_root_url="http://dl.teddysun.com/files"
|
||||||
|
|
||||||
rootness(){
|
rootness(){
|
||||||
if [[ $EUID -ne 0 ]]; then
|
if [[ $EUID -ne 0 ]]; then
|
||||||
@@ -137,8 +138,6 @@ is_64bit(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
download_file(){
|
download_file(){
|
||||||
local download_root_url="http://dl.teddysun.com/files"
|
|
||||||
|
|
||||||
if [ -s ${1} ]; then
|
if [ -s ${1} ]; then
|
||||||
echo "$1 [found]"
|
echo "$1 [found]"
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user