diff options
-rw-r--r-- | debian/vyatta-cfg-system.postinst.in | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in index 498e431f..21d7ff32 100644 --- a/debian/vyatta-cfg-system.postinst.in +++ b/debian/vyatta-cfg-system.postinst.in @@ -80,17 +80,8 @@ EOF cp $sysconfdir/$f /etc/ssh/$f fi done - - # block external rpc access - if ! grep -q "^portmap" /etc/hosts.deny - then cat <<-EOF >>/etc/hosts.deny - # Disable rpc access from other hosts - portmap: ALL - EOF - fi fi - # update crontab for logrotate grep -v logrotate /etc/crontab>/etc/crontab.$$ echo "*/10 * * * * root /usr/sbin/logrotate /etc/logrotate.conf" >> /etc/crontab.$$ |