service routine fixes
authorMichael Gebetsroither <michael.geb@gmx.at>
Thu, 16 Feb 2006 12:12:36 +0000 (13:12 +0100)
committerMichael Gebetsroither <michael.geb@gmx.at>
Thu, 16 Feb 2006 12:12:36 +0000 (13:12 +0100)
sh-lib

diff --git a/sh-lib b/sh-lib
index 9330a5b..e68951c 100644 (file)
--- a/sh-lib
+++ b/sh-lib
@@ -618,9 +618,10 @@ function _touchService
 
 function _createServiceFunctions
 {
-  for i in "start" "stop" "restart" "reload" "forcereload"; do
+  for i in "start" "stop" "restart" "reload"; do
     eval "function ${i}Service { _touchService ${i} \"\$1\" \"\$2\" \"\$3\"; }"
   done
+  eval "function forceReloadService { _touchService force-reload \"\$1\" \"\$2\" \"\$3\"; }"
 }
 _createServiceFunctions
 # }}}