summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-vpn-policy-routing/luasrc/controller/vpn-policy-routing.lua
diff options
context:
space:
mode:
authorStan Grishin <stangri@melmac.net>2020-04-03 12:29:53 +0000
committerStan Grishin <stangri@melmac.net>2020-04-03 12:29:53 +0000
commit673493f1621108fb8bb5dbce4e0cf6f31d2e9a86 (patch)
tree19b12292dfb204b1817608ee14bb4e76a455ec3d /applications/luci-app-vpn-policy-routing/luasrc/controller/vpn-policy-routing.lua
parent015712bba0fe4b036b4d12235a7b664d5b4cf3fe (diff)
luci-app-vpn-policy-routing: better service control & buttons styling
Signed-off-by: Stan Grishin <stangri@melmac.net>
Diffstat (limited to 'applications/luci-app-vpn-policy-routing/luasrc/controller/vpn-policy-routing.lua')
-rw-r--r--applications/luci-app-vpn-policy-routing/luasrc/controller/vpn-policy-routing.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-vpn-policy-routing/luasrc/controller/vpn-policy-routing.lua b/applications/luci-app-vpn-policy-routing/luasrc/controller/vpn-policy-routing.lua
index 0c8c31e7b7..f4af659aad 100644
--- a/applications/luci-app-vpn-policy-routing/luasrc/controller/vpn-policy-routing.lua
+++ b/applications/luci-app-vpn-policy-routing/luasrc/controller/vpn-policy-routing.lua
@@ -12,7 +12,7 @@ function vpn_policy_routing_action(name)
if name == "start" then
luci.sys.init.start(packageName)
elseif name == "action" then
- luci.util.exec("/etc/init.d/" .. packageName .. " reload >/dev/null 2>&1")
+ luci.util.exec("/etc/init.d/" .. packageName .. " restart >/dev/null 2>&1")
elseif name == "stop" then
luci.sys.init.stop(packageName)
elseif name == "enable" then