[pkg-fso-commits] [SCM] Automatic Display Manager branch, master, updated. debian/0.6-1-19-gbd547c0
Enrico Zini
enrico at enricozini.org
Wed Jul 6 23:40:17 UTC 2011
The following commit has been merged in the master branch:
commit bd547c085be0cc50fbc9b1e31f32603551db306c
Author: Enrico Zini <enrico at enricozini.org>
Date: Thu Jul 7 01:39:58 2011 +0200
Revert "Included upstart job (Closes: #602511). Thanks to Luigi Capriotti for providing it."
This reverts commit 88487176f4a0da68a041f649ea23c9a231645c22.
Conflicts:
debian/changelog
diff --git a/debian/changelog b/debian/changelog
index 9ba84cd..6b4b253 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,5 @@
nodm (0.7-2) UNRELEASED; urgency=low
- [ Joachim Breitner ]
- * Included upstart job (Closes: #602511). Thanks to Luigi Capriotti for
- providing it.
-
[ Marco Amadori ]
* Update Standards-Version to 3.9.1 (no changes required).
* Check if plymouth is available before using it.
diff --git a/debian/nodm.upstart b/debian/nodm.upstart
deleted file mode 100644
index ec6fc68..0000000
--- a/debian/nodm.upstart
+++ /dev/null
@@ -1,65 +0,0 @@
-# nodm - nodm Display Manager
-#
-
-description "Automatic Display Manager"
-
-start on (filesystem
- and started dbus
- and (drm-device-added card0 PRIMARY_DEVICE_FOR_DISPLAY=1
- or stopped udevtrigger))
-stop on runlevel [016]
-
-emits starting-dm
-
-script
- NODM_ENABLED=no
- NODM_XINIT=/usr/bin/xinit
- NODM_FIRST_VT=7
- NODM_XSESSION=/etc/X11/Xsession
- NODM_X_OPTIONS="-nolisten tcp"
- NODM_USER=root
- NODM_MIN_SESSION_TIME=60
-
- # If you change the user to a non-root user, make sure you
- # set allowed_users=anybody in /etc/X11/Xwrapper.config
-
- if [ -f /etc/default/nodm ]
- then
- . /etc/default/nodm
- fi
-
- export NODM_XINIT NODM_XSESSION NODM_X_OPTIONS NODM_USER NODM_MIN_SESSION_TIME NODM_FIRST_VT
-
- if [ -n "$UPSTART_EVENTS" ] ; then
- # Gracefully exit if the package or its dependencies have been removed (but not purged).
- [ -x /usr/sbin/nodm -a -x "$NODM_XSESSION" -a -x "$NODM_XINIT" ] || { stop; exit 0; }
-
- if [ "$NODM_ENABLED" = "no" ] || [ "$NODM_ENABLED" = "false" ] ; then
- stop; exit 0;
- fi
-
- # Check kernel command-line for inhibitors
- for ARG in $(cat /proc/cmdline)
- do
- case "${ARG}" in
- text|-s|s|S|single)
- plymouth quit || : # We have the ball here
- exit 0
- ;;
- esac
- done
- fi
-
- initctl emit starting-dm
-
- plymouth deactivate || true
- plymouth quit --wait --retain-splash || true
-
- exec /usr/sbin/nodm
-end script
-
-pre-stop script
- #clear >/dev/tty7 || true
-end script
-
-
--
Automatic Display Manager
More information about the pkg-fso-commits
mailing list