summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2017-11-02 16:58:39 +0100
committerChristian Poessinger <christian@poessinger.com>2017-11-02 17:12:51 +0100
commitf7e60e7beb90b193aebd2edf43a5cbd7cc1b475d (patch)
tree5682cf36190430ab5a37ac29c23d102b9840dd91 /debian
parent5333de74083111c23c7b8fb517d9924ba8afb9fd (diff)
downloadvyatta-cfg-system-f7e60e7beb90b193aebd2edf43a5cbd7cc1b475d.tar.gz
vyatta-cfg-system-f7e60e7beb90b193aebd2edf43a5cbd7cc1b475d.zip
T437: Fixed system option "Ctrl-Alt-Delete action" broken
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/vyatta-cfg-system.postinst.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in
index 8888aa60..60ed8eeb 100755
--- a/debian/vyatta-cfg-system.postinst.in
+++ b/debian/vyatta-cfg-system.postinst.in
@@ -188,7 +188,7 @@ if [ -e /etc/default/mdadm ]; then
fi
# Disable reboot on ctrl-alt-delete
-sed -i -e '/^ca/s/\/sbin\/shutdown .*$/\/bin\/echo "Ctrl\-Alt\-Del disabled."/' /etc/inittab
+ln -sf /dev/null /lib/systemd/system/ctrl-alt-del.target
# remove unnecessary ddclient script in /etc/ppp/ip-up.d/
# this logs unnecessary messages trying to start ddclient