TA的每日心情![](source/plugin/dsu_paulsign/img/emot/kx.gif) | 开心 2016-5-12 14:23 |
---|
签到天数: 2 天 [LV.1]初来乍到
|
http://forum.synology.com/enu/viewtopic.php?f=173&t=65444
5 g2 x6 W7 T: O& `9 _* D- M5 O' P7 h" M
if echo `ifconfig` | grep -q "ppp"( h$ z9 o% b4 {/ K( H; Q8 P
then Y8 `4 k) D6 m% I# G0 a8 O3 P
echo "PPTP vpn is up"5 _0 ]) V8 L' D4 N; w
else. z Q0 m$ {3 _, L A
echo 1 > /usr/syno/etc/synovpnclient/vpnc_connecting# Y. m" R& o0 j, f
synovpnc reconnect --protocol=pptp --name=HKeSPcom
: g( n, a1 m( Q3 Rfi- e8 d! [" O1 ~" q: o3 o
exit 0 |
|