summaryrefslogtreecommitdiff
path: root/debian/vyatta-cfg-system.postinst.in
diff options
context:
space:
mode:
authorrbalocca <rbalocca@vyatta.com>2008-07-28 16:26:29 -0700
committerrbalocca <rbalocca@vyatta.com>2008-07-28 16:26:29 -0700
commit573add99eb1632e43707acd086d7010d08f465d5 (patch)
tree39cc17de7553c29d4d5f43e039f52089d316a413 /debian/vyatta-cfg-system.postinst.in
parentc415474342cccde3cbe00cb6fc4a7ee3aeb00cc3 (diff)
downloadvyatta-cfg-quagga-573add99eb1632e43707acd086d7010d08f465d5.tar.gz
vyatta-cfg-quagga-573add99eb1632e43707acd086d7010d08f465d5.zip
Since this packages changes the bash-completion conf file, it must be installed after bash-completion
Diffstat (limited to 'debian/vyatta-cfg-system.postinst.in')
-rw-r--r--debian/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 e7ac929a..61a4842a 100644
--- a/debian/vyatta-cfg-system.postinst.in
+++ b/debian/vyatta-cfg-system.postinst.in
@@ -23,6 +23,7 @@ esac
ln -sf ../vyatta-net.rules /etc/udev/rules.d/$vyatta_net_rules
if [ "$sysconfdir" != "/etc" ]; then
+ touch /etc/sudoers
cp -p /etc/sudoers /etc/sudoers.bak
# for "admin" level
@@ -32,7 +33,6 @@ if [ "$sysconfdir" != "/etc" ]; then
fi
# cleanup any old entries from previous versions
- touch /etc/sudoers
ed - /etc/sudoers <<EOF
/### BEGIN VYATTA/,/### END VYATTA/d
/Cmnd_Alias IPTABLE/,/PPPOE_CMDS/d