source: trunk/packages/sipb-xen-base/scripts/invirt-reload @ 1221

Last change on this file since 1221 was 1220, checked in by broder, 16 years ago

Use invoke-rc.d in invirt-reload so that policy-rc.d is respected

  • Property svn:executable set to *
File size: 242 bytes
RevLine 
[702]1#!/bin/bash
2
3for script in $(run-parts --test /etc/init.d); do
4    if [ "${script#/etc/init.d/sipb-xen-}" != "$script" \
5        -o "${script#/etc/init.d/invirt-}" != "$script" ]; then
[1220]6        invoke-rc.d "${script#/etc/init.d/}" reload
[702]7    fi
8done
Note: See TracBrowser for help on using the repository browser.