xdm: Changes to 'debian-unstable'
debian/changelog | 5 +++++
debian/control | 2 +-
debian/xdm.init | 6 +++++-
3 files changed, 11 insertions(+), 2 deletions(-)
New commits:
commit 914dc2060e9307eadf76875614c1f4e7e6ca24d0
Author: Sven Joachim <svenjoac@gmx.de>
Date: Tue Jun 1 09:05:00 2010 +0200
xdm.init: Implement "status" option (Closes: #583802)
Bump dependency on lsb-base to 3.2-14 for status_of_proc().
diff --git a/debian/changelog b/debian/changelog
index f20f0eb..269e643 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,6 @@
xdm (1:1.1.10-2) UNRELEASED; urgency=low
+ [ Julien Cristau ]
* debian.diff: stop defining XDMAUTHDIR, it's not used anymore.
* debian.diff: replace references to the XFree86 X server with Xorg.
* Set default system and user PATHs when running configure instead of
@@ -7,6 +8,10 @@ xdm (1:1.1.10-2) UNRELEASED; urgency=low
* Drop obsolete upgrade code from pre-etch versions in preinst, postinst and
postrm scripts.
+ [ Sven Joachim ]
+ * xdm.init: Implement "status" option (Closes: #583802).
+ - Bump dependency on lsb-base to 3.2-14 for status_of_proc().
+
-- Julien Cristau <jcristau@debian.org> Tue, 20 Apr 2010 02:08:13 +0200
xdm (1:1.1.10-1) unstable; urgency=low
diff --git a/debian/control b/debian/control
index 0864788..7c2da31 100644
--- a/debian/control
+++ b/debian/control
@@ -30,7 +30,7 @@ Depends:
debconf (>= 1.2.9) | debconf-2.0,
x11-utils | xbase-clients | xmessage,
cpp,
- lsb-base (>= 3.0-6),
+ lsb-base (>= 3.2-14),
x11-xserver-utils,
procps,
Pre-Depends: x11-common (>= 1:7.0.0)
diff --git a/debian/xdm.init b/debian/xdm.init
index 93fcb62..4127dff 100644
--- a/debian/xdm.init
+++ b/debian/xdm.init
@@ -113,8 +113,12 @@ case "$1" in
log_end_msg 0
;;
+ status)
+ status_of_proc -p $PIDFILE $DAEMON xdm && exit 0 || exit $?
+ ;;
+
*)
- echo "Usage: /etc/init.d/xdm {start|stop|restart|reload|force-reload}"
+ echo "Usage: /etc/init.d/xdm {start|stop|restart|reload|force-reload|status}"
exit 1
;;
esac
Reply to: