Commit 77429daf authored by Mattia Dongili's avatar Mattia Dongili

Added support for "status" action to init script.

Signed-off-by: 's avatarMattia Dongili <malattia@linux.it>
parent ac342e11
uml-utilities (20070815.1-1) UNRELEASED; urgency=medium
uml-utilities (20070815.1-2) UNRELEASED; urgency=medium
* Bump compat level to latest. (Closes: #817708)
* Stop setting permissions on /dev/net/tun. (Closes: #516691, #760425)
* Switch to dpkg-source 3.0 (quilt) format, repackaged orig.tgz to remove
garbage like a .pc directory that confuses dpkg-source.
* Added support for "status" action to init script. Thanks Peter Eisentraut
<petere@debian.org>. (Closes: #646879)
-- Mattia Dongili <malattia@debian.org> Tue, 12 Jul 2016 07:33:48 -0700
-- Mattia Dongili <malattia@debian.org> Wed, 13 Jul 2016 22:49:08 -0700
uml-utilities (20070815-1.4) unstable; urgency=low
......
......@@ -82,10 +82,13 @@ case "$1" in
$0 stop
$0 start
;;
status)
status_of_proc "$DAEMON" "$NAME"
;;
*)
N=/etc/init.d/$NAME
# echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
echo "Usage: $N {start|stop|restart|force-reload}" >&2
echo "Usage: $N {start|stop|restart|force-reload|status}" >&2
exit 1
;;
esac
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment