diff options
author | John Southworth <john.southworth@vyatta.com> | 2012-02-29 22:55:45 +0000 |
---|---|---|
committer | John Southworth <john.southworth@vyatta.com> | 2012-02-29 22:55:45 +0000 |
commit | d1fff3cab23fec182b70aba6589e475ec208d6e6 (patch) | |
tree | 0510482681330b177ce209a4a4db043628e6b0ae /debian/vyatta-cfg-system.postinst.in | |
parent | 82b0bced0463c33ef48d8268072940a36ce04d68 (diff) | |
parent | 90d8a2731ab6739abf3f8faae01dd16eea4c5ece (diff) | |
download | vyatta-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.in | 3 |
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 |