What's new

Availabilty of "service start_vpnclient1"

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

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"?
 
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 ;)
 
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. :)
 

Similar threads

Sign Up For SNBForums Daily Digest

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