[Debconf-video-commits] r820 - fai-config/scripts/FOSDEM
Philip Hands
philh at alioth.debian.org
Thu Jan 31 22:23:42 UTC 2013
Author: philh
Date: 2013-01-31 22:23:42 +0000 (Thu, 31 Jan 2013)
New Revision: 820
Modified:
fai-config/scripts/FOSDEM/40-noconsoleblank
Log:
only touch the /etc/kbd/config file if it needs editing
Modified: fai-config/scripts/FOSDEM/40-noconsoleblank
===================================================================
--- fai-config/scripts/FOSDEM/40-noconsoleblank 2013-01-31 20:01:31 UTC (rev 819)
+++ fai-config/scripts/FOSDEM/40-noconsoleblank 2013-01-31 22:23:42 UTC (rev 820)
@@ -2,5 +2,5 @@
# the laptops used with twinpacts need pci express
case $HOSTNAME in
- twinpact?) sed -i -e 's/^\(BLANK_TIME\)=.*/\1=0/' /etc/kbd/config
+ twinpact?) sed -i -e '/^BLANK_TIME=0$/!s/^\(BLANK_TIME\)=.*/\1=0/' /etc/kbd/config
esac
More information about the Debconf-video-commits
mailing list