[24135] in Source-Commits

home help back first fref pref prev next nref lref last post

/svn/athena r23737 - in trunk/debathena/debathena/dotfiles: . debian

daemon@ATHENA.MIT.EDU (Evan Broder)
Sun Apr 12 01:11:52 2009

Date: Sun, 12 Apr 2009 01:11:07 -0400
From: Evan Broder <broder@MIT.EDU>
Message-Id: <200904120511.n3C5B7i3032599@drugstore.mit.edu>
To: source-commits@mit.edu
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Author: broder
Date: 2009-04-12 01:11:07 -0400 (Sun, 12 Apr 2009)
New Revision: 23737

Modified:
   trunk/debathena/debathena/dotfiles/bash_login
   trunk/debathena/debathena/dotfiles/debian/changelog
   trunk/debathena/debathena/dotfiles/login
Log:
In dotfiles:
  * Run zwgc if you login to a dialup but have fallback=true set in
    .zephyr.vars. (Trac: #137)


Modified: trunk/debathena/debathena/dotfiles/bash_login
===================================================================
--- trunk/debathena/debathena/dotfiles/bash_login	2009-04-12 04:47:09 UTC (rev 23736)
+++ trunk/debathena/debathena/dotfiles/bash_login	2009-04-12 05:11:07 UTC (rev 23737)
@@ -53,7 +53,7 @@
 
 if [ "${ZEPHYR_CLIENT+set}" != set ]; then
 	export ZEPHYR_CLIENT
-	if [ ! -f /etc/athena/dialuptype ]; then
+	if [ ! -f /etc/athena/dialuptype ] || [ "fallback: true" = "`zctl show fallback`" ]; then
 		ZEPHYR_CLIENT=zwgc
 	else
 		ZEPHYR_CLIENT='echo This is a dialup, so zwgc is not being run on login.'

Modified: trunk/debathena/debathena/dotfiles/debian/changelog
===================================================================
--- trunk/debathena/debathena/dotfiles/debian/changelog	2009-04-12 04:47:09 UTC (rev 23736)
+++ trunk/debathena/debathena/dotfiles/debian/changelog	2009-04-12 05:11:07 UTC (rev 23737)
@@ -1,3 +1,10 @@
+debathena-dotfiles (10.0.10-0debathena1) unstable; urgency=low
+
+  * Run zwgc if you login to a dialup but have fallback=true set in
+    .zephyr.vars. (Trac: #137)
+
+ -- Evan Broder <broder@mit.edu>  Sun, 12 Apr 2009 01:01:10 -0400
+
 debathena-dotfiles (10.0.9-0debathena3) unstable; urgency=low
 
   * Update dependencies for merge of debathena-from and

Modified: trunk/debathena/debathena/dotfiles/login
===================================================================
--- trunk/debathena/debathena/dotfiles/login	2009-04-12 04:47:09 UTC (rev 23736)
+++ trunk/debathena/debathena/dotfiles/login	2009-04-12 05:11:07 UTC (rev 23737)
@@ -44,7 +44,7 @@
 # "set skip_tty_startup" in your ~/.environment file.
 
 if (! $?ZEPHYR_CLIENT) then
-	if (! -f /etc/athena/dialuptype) then
+	if (! -f /etc/athena/dialuptype || "fallback: true" == "`zctl show fallback`") then
 		setenv ZEPHYR_CLIENT zwgc
 	else
 		setenv ZEPHYR_CLIENT 'echo This is a dialup, so zwgc is not being run on login.'


home help back first fref pref prev next nref lref last post