summaryrefslogtreecommitdiff
path: root/debian/vyatta-cfg-system.postinst.in
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2012-02-29 22:55:45 +0000
committerJohn Southworth <john.southworth@vyatta.com>2012-02-29 22:55:45 +0000
commitd1fff3cab23fec182b70aba6589e475ec208d6e6 (patch)
tree0510482681330b177ce209a4a4db043628e6b0ae /debian/vyatta-cfg-system.postinst.in
parent82b0bced0463c33ef48d8268072940a36ce04d68 (diff)
parent90d8a2731ab6739abf3f8faae01dd16eea4c5ece (diff)
downloadvyatta-cfg-system-d1fff3cab23fec182b70aba6589e475ec208d6e6.tar.gz
vyatta-cfg-system-d1fff3cab23fec182b70aba6589e475ec208d6e6.zip
Merge branch 'oxnard' of git.vyatta.com:/git/vyatta-cfg-system into oxnard
Diffstat (limited to 'debian/vyatta-cfg-system.postinst.in')
-rw-r--r--debian/vyatta-cfg-system.postinst.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in
index 2d028c8f..36644e7a 100644
--- a/debian/vyatta-cfg-system.postinst.in
+++ b/debian/vyatta-cfg-system.postinst.in
@@ -198,6 +198,9 @@ if [ -e /etc/default/mdadm ]; then
sed -i 's/^START_DAEMON.*$/START_DAEMON=false/' /etc/default/mdadm
fi
+# Disable reboot on ctrl-alt-delete
+sed -i -e '/^ca/s/\/sbin\/shutdown .*$/\/bin\/echo "Ctrl\-Alt\-Del disabled."/' /etc/inittab
+
# remove unnecessary ddclient script in /etc/ppp/ip-up.d/
# this logs unnecessary messages trying to start ddclient
rm -f /etc/ppp/ip-up.d/ddclient