Package: kdm-gdmcompat
Version: 0.12-1
Severity: wishlist
Tags: patch
Here is a patch to support the "status" action in the init.d script.
Note that the dependency on lsb-base is missing from your package in the
current state already.
diff -u kdm-gdmcompat-0.12/debian/kdm-gdmcompat.init kdm-gdmcompat-0.12/debian/kdm-gdmcompat.init
--- kdm-gdmcompat-0.12/debian/kdm-gdmcompat.init
+++ kdm-gdmcompat-0.12/debian/kdm-gdmcompat.init
@@ -63,8 +63,12 @@
start_daemon
log_end_msg 0
;;
+ status)
+ status_of_proc $DAEMON "$DESC" -p $PID_FILE
+ exit $?
+ ;;
*)
- echo "Usage: $0 {start|stop|restart|force-reload}" >&2
+ echo "Usage: $0 {start|stop|restart|force-reload|status}" >&2
exit 1
;;
esac
diff -u kdm-gdmcompat-0.12/debian/control kdm-gdmcompat-0.12/debian/control
--- kdm-gdmcompat-0.12/debian/control
+++ kdm-gdmcompat-0.12/debian/control
@@ -11,7 +11,7 @@
Package: kdm-gdmcompat
Architecture: all
-Depends: kdm, xauth
+Depends: kdm, xauth, lsb-base (>= 3.2-13)
Enhances: kdm
Replaces: kdmflexiserver
Conflicts: kdmflexiserver