Commit 603e91c2 authored by Ad Schellevis's avatar Ad Schellevis

correct case statement

parent 30f7751d
...@@ -399,6 +399,7 @@ if (!function_exists('service_control_start')) { ...@@ -399,6 +399,7 @@ if (!function_exists('service_control_start')) {
break; break;
case 'squid': case 'squid':
configd_run("proxy start"); configd_run("proxy start");
break;
default: default:
log_error(gettext("Could not start unknown service `%s'", $name)); log_error(gettext("Could not start unknown service `%s'", $name));
break; break;
...@@ -474,6 +475,7 @@ if (!function_exists('service_control_stop')) { ...@@ -474,6 +475,7 @@ if (!function_exists('service_control_stop')) {
break; break;
case 'squid': case 'squid':
configd_run("proxy stop"); configd_run("proxy stop");
break;
default: default:
log_error(gettext("Could not stop unknown service `%s'", $name)); log_error(gettext("Could not stop unknown service `%s'", $name));
break; break;
...@@ -547,6 +549,7 @@ if (!function_exists('service_control_restart')) { ...@@ -547,6 +549,7 @@ if (!function_exists('service_control_restart')) {
break; break;
case 'squid': case 'squid':
configd_run("proxy restart"); configd_run("proxy restart");
break;
default: default:
log_error(gettext("Could not restart unknown service `%s'", $name)); log_error(gettext("Could not restart unknown service `%s'", $name));
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment