Masato Taruishi
taru****@users*****
2004年 10月 18日 (月) 02:00:44 JST
=================================================================== RCS file: demo/uml/debian/init.d,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- demo/uml/debian/init.d 2004/09/29 07:29:43 1.5 +++ demo/uml/debian/init.d 2004/10/17 17:00:44 1.6 @@ -16,7 +16,7 @@ test -x $DAEMON || exit 0 -# Include #PACKAGE# defaults if available +# Include ultrapossum-uml defaults if available if [ -f /etc/default/ultrapossum-uml ] ; then . /etc/default/ultrapossum-uml fi @@ -69,13 +69,9 @@ # option to the "reload" entry above. If not, "force-reload" is # just the same as "restart". # - echo -n "Restarting $DESC: " - start-stop-daemon --stop --quiet --pidfile \ - /var/run/$NAME.pid --exec $DAEMON + $0 stop sleep 1 - start-stop-daemon --start --quiet --pidfile \ - /var/run/$NAME.pid --exec $DAEMON -- $DAEMON_OPTS - echo "$NAME." + $0 start ;; *) N=/etc/init.d/$NAME