summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/vyatta-cfg-system.postinst.in11
-rw-r--r--debian/vyatta-cfg-system.postrm2
2 files changed, 0 insertions, 13 deletions
diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in
index 95a1a764..daecb83f 100644
--- a/debian/vyatta-cfg-system.postinst.in
+++ b/debian/vyatta-cfg-system.postinst.in
@@ -25,17 +25,6 @@ if ! grep -q '^tss' /etc/passwd; then
adduser --system --group --shell /usr/sbin/nologin --home /var/lib/tpm tss
fi
-case `grep '^RULES_FILE=' /lib/udev/write_net_rules` in
-*z25_persistent-net.rules* )
- vyatta_net_rules=z24_vyatta-net.rules;;
-*70-persistent-net.rules* )
- vyatta_net_rules=69-vyatta-net.rules;;
-* )
- vyatta_net_rules=21-vyatta-net.rules;;
-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
diff --git a/debian/vyatta-cfg-system.postrm b/debian/vyatta-cfg-system.postrm
index 5b22f66b..89d919ce 100644
--- a/debian/vyatta-cfg-system.postrm
+++ b/debian/vyatta-cfg-system.postrm
@@ -1,8 +1,6 @@
#!/bin/bash
if [ "$1" = "purge" ]; then
- rm -f /etc/udev/rules.d/*vyatta-net.rules
-
sed -i -e '/### BEGIN VYATTA/,/### END VYATTA/d' /etc/sudoers
sed -i -e 'g/^password/d' /etc/pam.d/password
fi