diff options
Diffstat (limited to 'debian')
-rw-r--r-- | debian/control | 1 | ||||
-rw-r--r-- | debian/vyatta-cfg-system.postinst.in | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/debian/control b/debian/control index 4b5692bb..214be062 100644 --- a/debian/control +++ b/debian/control @@ -34,6 +34,7 @@ Depends: sed (>= 4.1.5), tasksel, snmp, tcpdump +Pre-Depends: bash-completion Suggests: util-linux (>= 2.13-5), net-tools, ethtool, 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 |