diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-06-26 20:58:11 +0000 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-06-26 20:58:11 +0000 |
commit | a2c9fb78d6a192bea8932198738fbeda0e68cdc4 (patch) | |
tree | 5756bf6e3824cc238ab57839981a181acbf402cc /debian/vyatta-cfg-system.postinst.in | |
parent | 914262b55754aa95883b2e4b05969b5822cf95fc (diff) | |
download | vyatta-cfg-system-a2c9fb78d6a192bea8932198738fbeda0e68cdc4.tar.gz vyatta-cfg-system-a2c9fb78d6a192bea8932198738fbeda0e68cdc4.zip |
Debian: drop deprecated screenblanker from postinstall script
Diffstat (limited to 'debian/vyatta-cfg-system.postinst.in')
-rwxr-xr-x | debian/vyatta-cfg-system.postinst.in | 16 |
1 files changed, 0 insertions, 16 deletions
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 |