summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Gilligan <gilligan@vyatta.com>2011-01-19 20:10:11 -0800
committerBob Gilligan <gilligan@vyatta.com>2011-01-19 20:10:11 -0800
commita8174f50f870cc347130899b6b217089e2f19c5b (patch)
tree33caa63ba24cd2742ecb532f082f3028411016d6
parent7ca6e0a02c7cee7bd3474a441dc170b7c78445aa (diff)
parent9e3addaf94683857fd7a1a5655178693328b7f4f (diff)
downloadvyatta-cfg-system-a8174f50f870cc347130899b6b217089e2f19c5b.tar.gz
vyatta-cfg-system-a8174f50f870cc347130899b6b217089e2f19c5b.zip
Merge branch 'napa' of http://git.vyatta.com/vyatta-cfg-system into napa
-rw-r--r--debian/vyatta-cfg-system.postinst.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in
index b30b0593..475ae699 100644
--- a/debian/vyatta-cfg-system.postinst.in
+++ b/debian/vyatta-cfg-system.postinst.in
@@ -25,6 +25,11 @@ if ! grep -q '^tss' /etc/passwd; then
adduser --system --group --shell /usr/sbin/nologin --home /var/lib/tpm tss
fi
+# Remove leftover udev files from earlier release
+if [ -d /etc/udev/rules.d/ ]; then
+ rm -f /etc/udev/rules.d/*vyatta-net.rules
+fi
+
# Force screenblanker to be off, it can be enabled later if desired
if [ -f /etc/console-tools/config ]; then
sed -i -e '/^POWERDOWN/s/=.*$/=0/' \