[24417] in Source-Commits
/svn/athena r24012 - in trunk/debathena/config/reactivate/debian: . PostSession
daemon@ATHENA.MIT.EDU (Geoffrey Thomas)
Sun Sep 20 16:11:19 2009
Date: Sun, 20 Sep 2009 16:10:52 -0400
From: Geoffrey Thomas <geofft@MIT.EDU>
Message-Id: <200909202010.n8KKAqec023764@drugstore.mit.edu>
To: source-commits@mit.edu
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Author: geofft
Date: 2009-09-20 16:10:52 -0400 (Sun, 20 Sep 2009)
New Revision: 24012
Added:
trunk/debathena/config/reactivate/debian/debathena-reactivate.init
Modified:
trunk/debathena/config/reactivate/debian/PostSession/Default.debathena
trunk/debathena/config/reactivate/debian/changelog
Log:
In reactivate:
* Avoid sound during first login (Trac: 292).
Patch by Michael Mekonnen <mikemeko@mit.edu>.
Modified: trunk/debathena/config/reactivate/debian/PostSession/Default.debathena
===================================================================
--- trunk/debathena/config/reactivate/debian/PostSession/Default.debathena 2009-09-20 19:53:49 UTC (rev 24011)
+++ trunk/debathena/config/reactivate/debian/PostSession/Default.debathena 2009-09-20 20:10:52 UTC (rev 24012)
@@ -7,7 +7,7 @@
PATH=/sbin:/bin:/usr/sbin:/usr/bin
# Set the volume to zero for all sound cards, and save that state.
-(/etc/init.d/alsa-utils stop all && alsactl store) > /dev/null 2>&1
+invoke-rc.d debathena-reactivate start
# Clean up the login snapshot.
athena-login-snapshot login-end
Modified: trunk/debathena/config/reactivate/debian/changelog
===================================================================
--- trunk/debathena/config/reactivate/debian/changelog 2009-09-20 19:53:49 UTC (rev 24011)
+++ trunk/debathena/config/reactivate/debian/changelog 2009-09-20 20:10:52 UTC (rev 24012)
@@ -1,3 +1,9 @@
+debathena-reactivate (1.21) unstable; urgency=low
+
+ * Avoid sound during first login (Trac: 292).
+
+ -- Michael Mekonnen <mikemeko@mit.edu> Sun, 20 Sep 2009 15:31:13 -0400
+
debathena-reactivate (1.20.1) unstable; urgency=low
* Use the right debian/rules variable for removing files.
Added: trunk/debathena/config/reactivate/debian/debathena-reactivate.init
===================================================================
--- trunk/debathena/config/reactivate/debian/debathena-reactivate.init 2009-09-20 19:53:49 UTC (rev 24011)
+++ trunk/debathena/config/reactivate/debian/debathena-reactivate.init 2009-09-20 20:10:52 UTC (rev 24012)
@@ -0,0 +1,37 @@
+#! /bin/sh
+### BEGIN INIT INFO
+# Provides: rmnologin
+# Required-Start: $remote_fs $all
+# Required-Stop:
+# Default-Start: 2 3 4 5
+# Default-Stop:
+# Short-Description: Remove /etc/nologin at boot
+# Description: This script removes the /etc/nologin file as the
+# last step in the boot process, if DELAYLOGIN=yes.
+# If DELAYLOGIN=no, /etc/nologin was not created by
+# bootmisc earlier in the boot process.
+### END INIT INFO
+
+PATH=/sbin:/bin
+
+. /lib/init/vars.sh
+
+case "$1" in
+ start)
+ # Set the volume to zero for all sound cards, and save that state.
+ (/etc/init.d/alsa-utils stop all && alsactl store) > /dev/null 2>&1
+ ;;
+ restart|reload|force-reload)
+ echo "Error: argument '$1' not supported" >&2
+ exit 3
+ ;;
+ stop)
+ # No-op
+ ;;
+ *)
+ echo "Usage: $0 start|stop" >&2
+ exit 3
+ ;;
+esac
+
+:
Property changes on: trunk/debathena/config/reactivate/debian/debathena-reactivate.init
___________________________________________________________________
Name: svn:executable
+ *