What's new

Availabilty of "service start_vpnclient1"

Dan Lundmark

New Around Here
I have been able to understand that ASUS std firmware for an AC5300 router not any longer support the function "service start_vpnclient1" in a command line approach and also of course then not as a script. My question is if i flash my router with the Merlin version of fw will I be able to write a script for "service start_vpnclient1"?
 

Zastoff

Very Senior Member
I use these in /jffs/scripts init-start
## OVPN Restart @ 06.42 WeekDays
cru a VpnRestartWD "42 6 * * 1-5 service stop_vpnclient1 && sleep 24m && service start_vpnclient1" #OVPN_Restart#

## OVPN Restart @ 06.04 WeekEnds
cru a VpnRestartWE "04 6 * * 6,0 service stop_vpnclient1 && sleep 32m && service start_vpnclient1" #OVPN_Restart#
Works fine for me ;)
 

Dan Lundmark

New Around Here
I use these in /jffs/scripts init-start
## OVPN Restart @ 06.42 WeekDays
cru a VpnRestartWD "42 6 * * 1-5 service stop_vpnclient1 && sleep 24m && service start_vpnclient1" #OVPN_Restart#

## OVPN Restart @ 06.04 WeekEnds
cru a VpnRestartWE "04 6 * * 6,0 service stop_vpnclient1 && sleep 32m && service start_vpnclient1" #OVPN_Restart#
Works fine for me ;)
Thanks very much, I will have to assume that would run well on a AC-5300 too. :)
 

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top