31,703
edits
Line 169: | Line 169: | ||
To sum up, the first line enables the OpenVPN server at 8 AM, the second disables it at 6 PM. At the end of the enabling and disabling processes the changes are committed and the related services restarted. We used UCI to change the state of the OpenVPN server. You can find more information on UCI in this article: '''[[UCI command usage]]'''. | To sum up, the first line enables the OpenVPN server at 8 AM, the second disables it at 6 PM. At the end of the enabling and disabling processes the changes are committed and the related services restarted. We used UCI to change the state of the OpenVPN server. You can find more information on UCI in this article: '''[[UCI command usage]]'''. | ||
'''NOTE''': different OpenVPN instances will have different path names (i.e., ''openvpn.7365727665725F64656D6F'') to the ''enable'' option. You can check the path with this command: | |||
uci show openvpn | |||
===Launching a WiFi Access Point (AP) on specified hours=== | ===Launching a WiFi Access Point (AP) on specified hours=== |