3 # Provides: invirt-remote-host
4 # Required-Start: $local_fs $remote_fs
5 # Required-Stop: $local_fs $remote_fs
6 # Default-Start: 2 3 4 5
8 # Short-Description: remctl configuration for an Invirt host
12 PACKAGE=invirt-remote-host
14 . /lib/lsb/init-functions
18 for i in /etc/remctl/acl/remote
19 do mako-render $i.mako > $i
24 start|reload|force-reload|restart)
25 log_begin_msg "Reloading config for $PACKAGE"
28 /etc/init.d/openbsd-inetd start # returns 1 if inetd is running
29 [ $? -eq 1 ] && exit 0
34 log_success_msg "Usage: /etc/init.d/$PACKAGE {start|reload|force-reload|restart|stop}"