[24306] in Source-Commits
/svn/athena r23904 - trunk/debathena/config/cluster-login-config/debian
daemon@ATHENA.MIT.EDU (Evan Broder)
Sun Jun 28 20:44:17 2009
Date: Sun, 28 Jun 2009 20:44:05 -0400
From: Evan Broder <broder@MIT.EDU>
Message-Id: <200906290044.n5T0i5pi022304@drugstore.mit.edu>
To: source-commits@mit.edu
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Author: broder
Date: 2009-06-28 20:44:05 -0400 (Sun, 28 Jun 2009)
New Revision: 23904
Modified:
trunk/debathena/config/cluster-login-config/debian/changelog
trunk/debathena/config/cluster-login-config/debian/debathena-cluster-login-config.postinst
Log:
In cluster-login-config:
* Reload gdm and kill the tty gettys so we don't need to reboot after
installing. (Trac: #305)
Modified: trunk/debathena/config/cluster-login-config/debian/changelog
===================================================================
--- trunk/debathena/config/cluster-login-config/debian/changelog 2009-06-28 23:11:17 UTC (rev 23903)
+++ trunk/debathena/config/cluster-login-config/debian/changelog 2009-06-29 00:44:05 UTC (rev 23904)
@@ -1,3 +1,10 @@
+debathena-cluster-login-config (1.13) unstable; urgency=low
+
+ * Reload gdm and kill the tty gettys so we don't need to reboot after
+ installing. (Trac: #305)
+
+ -- Evan Broder <broder@mit.edu> Sun, 28 Jun 2009 20:42:09 -0400
+
debathena-cluster-login-config (1.12) unstable; urgency=low
* Add a gdm custom command to register for an account via the
Modified: trunk/debathena/config/cluster-login-config/debian/debathena-cluster-login-config.postinst
===================================================================
--- trunk/debathena/config/cluster-login-config/debian/debathena-cluster-login-config.postinst 2009-06-28 23:11:17 UTC (rev 23903)
+++ trunk/debathena/config/cluster-login-config/debian/debathena-cluster-login-config.postinst 2009-06-29 00:44:05 UTC (rev 23904)
@@ -22,13 +22,20 @@
case "$1" in
configure)
- # Shut down sshd.
+ # Shut down sshd and reload gdm.
if hash invoke-rc.d; then
invoke-rc.d ssh stop
+ invoke-rc.d gdm reload
else
/etc/init.d/ssh stop
+ /etc/init.d/gdm reload
fi
+ # Shut down the gettys
+ for i in $(seq 1 6); do
+ initctl stop "tty$i" >/dev/null 2>&1
+ done
+
# Attempt to initially set the root password.
/usr/sbin/athena-root-password