[Debconf-video-commits] r828 - fai-config/scripts/FOSDEM
Philip Hands
philh at alioth.debian.org
Tue Feb 19 09:26:03 UTC 2013
Author: philh
Date: 2013-02-19 09:26:02 +0000 (Tue, 19 Feb 2013)
New Revision: 828
Modified:
fai-config/scripts/FOSDEM/40-noconsoleblank
Log:
fix the unneeded updates problem (thanks h01ger), and add missing ;; in case
Modified: fai-config/scripts/FOSDEM/40-noconsoleblank
===================================================================
--- fai-config/scripts/FOSDEM/40-noconsoleblank 2013-02-02 10:35:46 UTC (rev 827)
+++ fai-config/scripts/FOSDEM/40-noconsoleblank 2013-02-19 09:26:02 UTC (rev 828)
@@ -2,5 +2,8 @@
# the laptops used with twinpacts need pci express
case $HOSTNAME in
- twinpact?) sed -i -e 's/^\(BLANK_TIME\)=.*/\1=0/' /etc/kbd/config
+ twinpact?)
+ grep -q '^BLANK_TIME=0$' /etc/kbd/config ||
+ sed -i -e 's/^\(BLANK_TIME\)=.*/\1=0/' /etc/kbd/config
+ ;;
esac
More information about the Debconf-video-commits
mailing list