From: Ronnie Sahlberg Date: Sat, 14 Jul 2007 22:54:48 +0000 (+1000) Subject: when we have found that /etc/rc.d/init.d/SERVICE exists, then run that X-Git-Tag: tevent-0.9.20~348^2~2450^2~8 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=82824e06809c8c684c3a5a8e63c07168850ada14;p=thirdparty%2Fsamba.git when we have found that /etc/rc.d/init.d/SERVICE exists, then run that script and not /etc/rc.d/SERVICE (This used to be ctdb commit 7f0c3a02ef11fd19c8cd5116fd451ebd10ba5d1b) --- diff --git a/ctdb/config/functions b/ctdb/config/functions index d7818e0c469..f28fc5aa23a 100644 --- a/ctdb/config/functions +++ b/ctdb/config/functions @@ -22,7 +22,7 @@ service() { elif [ -x /etc/init.d/$service_name ]; then /etc/init.d/$service_name "$op" elif [ -x /etc/rc.d/init.d/$service_name ]; then - /etc/init.d/$service_name "$op" + /etc/rc.d/init.d/$service_name "$op" fi }