summaryrefslogtreecommitdiff
path: root/debian/vyatta-cfg-system.postinst.in
diff options
context:
space:
mode:
authorrbalocca <rbalocca@vyatta.com>2008-07-22 12:10:05 -0700
committerrbalocca <rbalocca@vyatta.com>2008-07-22 12:10:05 -0700
commitc415474342cccde3cbe00cb6fc4a7ee3aeb00cc3 (patch)
tree467e0f063bc5801535ad3c0f06a82e95c2368980 /debian/vyatta-cfg-system.postinst.in
parent82339579532a1782a749cbff9f08e2a136a08703 (diff)
downloadvyatta-cfg-system-c415474342cccde3cbe00cb6fc4a7ee3aeb00cc3.tar.gz
vyatta-cfg-system-c415474342cccde3cbe00cb6fc4a7ee3aeb00cc3.zip
The postinst was printing a '?'
Diffstat (limited to 'debian/vyatta-cfg-system.postinst.in')
-rw-r--r--debian/vyatta-cfg-system.postinst.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in
index cac2a55a..e7ac929a 100644
--- a/debian/vyatta-cfg-system.postinst.in
+++ b/debian/vyatta-cfg-system.postinst.in
@@ -32,6 +32,7 @@ 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