diff options
Diffstat (limited to 'debian/vyatta-cfg-system.postinst.in')
-rwxr-xr-x | debian/vyatta-cfg-system.postinst.in | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in index cf9eecdb..735b49ff 100755 --- a/debian/vyatta-cfg-system.postinst.in +++ b/debian/vyatta-cfg-system.postinst.in @@ -76,20 +76,6 @@ if [ "$sysconfdir" != "/etc" ]; then cp $sysconfdir/sudoers /etc/sudoers.d/vyatta chmod 0440 /etc/sudoers.d/vyatta - # set up blacklists - for f in blacklist.DSA-1024 blacklist.RSA-2048; do - if [ -r "/etc/ssh/$f" ]; then - l=$(head -1 $sysconfdir/$f) - if ! grep -q "$l" /etc/ssh/$f; then - tmp=$(mktemp /tmp/bl.XXXXXXXXXX) - cat /etc/ssh/$f $sysconfdir/$f | sort >$tmp - mv $tmp /etc/ssh/$f - fi - else - cp $sysconfdir/$f /etc/ssh/$f - fi - done - # purge off ancient devfs stuff from /etc/securetty cp $sysconfdir/securetty /etc/securetty |