summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2011-01-20 15:07:15 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2011-01-20 15:07:15 -0800
commit90ea7784c052b8865a24f9c81b614cbdcc0e3643 (patch)
tree1cdc35f79764248004f5bb695309c31d25e4dc25
parentb8d07d1cdab3a742475c9af6e08ac688c9167881 (diff)
parent00466b9a779647047ce432b971bf8329b2255126 (diff)
downloadvyatta-cfg-system-90ea7784c052b8865a24f9c81b614cbdcc0e3643.tar.gz
vyatta-cfg-system-90ea7784c052b8865a24f9c81b614cbdcc0e3643.zip
Merge branch 'mendocino' of vm:vyatta/mendocino/vyatta-cfg-system into mendocino
-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/' \