From a2c9fb78d6a192bea8932198738fbeda0e68cdc4 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 26 Jun 2021 20:58:11 +0000 Subject: Debian: drop deprecated screenblanker from postinstall script --- debian/vyatta-cfg-system.postinst.in | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'debian/vyatta-cfg-system.postinst.in') diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in index 3d5b222f..c1e7d7e6 100755 --- a/debian/vyatta-cfg-system.postinst.in +++ b/debian/vyatta-cfg-system.postinst.in @@ -6,22 +6,6 @@ sysconfdir=@sysconfdir@ bindir=@bindir@ sbindir=@sbindir@ -# remove extra call to clock setup only need one. this speeds up boot -# Mystery: why does Debian do it twice? -if [ -L /etc/rcS.d/S*hwclockfirst.sh -a -L /etc/rcS.d/S*hwclock.sh ]; then - rm /etc/rcS.d/S*hwclock.sh -fi - -# Remove rsyslog logrotate since it has hardcoded assumptions about syslog files -rm -f /etc/logrotate.d/rsyslog - -# Force screenblanker to be off, it can be enabled later if desired -if [ -f /etc/console-tools/config ]; then - sed -i -e '/^POWERDOWN/s/=.*$/=0/' \ - -e '/^BLANK_TIME/s/=.*$/=0/' \ - -e '/^BLANK_DPMS/s/=.*$/=off/' /etc/console-tools/config -fi - if [ "$sysconfdir" != "/etc" ]; then touch /etc/sudoers cp -p /etc/sudoers /etc/sudoers.bak -- cgit v1.2.3