invirt-reload should force-reload, not just reload
[invirt/packages/invirt-base.git] / scripts / invirt-reload
1 #!/bin/bash
2
3 for script in $(run-parts --test /etc/init.d); do
4     if [ "${script#/etc/init.d/invirt-}" != "$script" ]; then
5         invoke-rc.d "${script#/etc/init.d/}" force-reload
6     fi
7 done