Use invoke-rc.d in invirt-reload so that policy-rc.d is respected
[invirt/packages/invirt-base.git] / scripts / invirt-reload
index fdfa8b6..7d819ef 100755 (executable)
@@ -3,6 +3,6 @@
 for script in $(run-parts --test /etc/init.d); do
     if [ "${script#/etc/init.d/sipb-xen-}" != "$script" \
         -o "${script#/etc/init.d/invirt-}" != "$script" ]; then
-       "$script" reload
+       invoke-rc.d "${script#/etc/init.d/}" reload
     fi
 done