summaryrefslogtreecommitdiff
path: root/debian/vyatta-cfg-system.postinst.in
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-10-07 13:16:57 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-10-07 13:52:31 -0700
commitcbc9578ade6afaf6db039401182b6cfe14e73ff9 (patch)
tree1fd7676d24f778d3e98180b4285b24e943cca4d3 /debian/vyatta-cfg-system.postinst.in
parent766bb0ca075060a8ebafbc57f499933f48aabdbe (diff)
downloadvyatta-cfg-quagga-cbc9578ade6afaf6db039401182b6cfe14e73ff9.tar.gz
vyatta-cfg-quagga-cbc9578ade6afaf6db039401182b6cfe14e73ff9.zip
Put udev rules in /lib/udev
Udev rules have moved from /etc/udev to /lib/udev on Debian Squeeze
Diffstat (limited to 'debian/vyatta-cfg-system.postinst.in')
-rw-r--r--debian/vyatta-cfg-system.postinst.in11
1 files changed, 0 insertions, 11 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