summaryrefslogtreecommitdiff
path: root/debian/vyatta-cfg-system.postinst.in
diff options
context:
space:
mode:
authorTom Grennan <tgrennan@io.vyatta.com>2007-12-17 17:16:48 -0800
committerTom Grennan <tgrennan@io.vyatta.com>2007-12-17 17:16:48 -0800
commita9cd192305b779cb62aecd858ad9a4e5a1fbcad4 (patch)
tree52f6c7fafda5760191b868dc03fc61fa09f7cd38 /debian/vyatta-cfg-system.postinst.in
parent35a2193ed8baa7af1c4c01f239b0363a9d5a5d19 (diff)
downloadvyatta-cfg-system-a9cd192305b779cb62aecd858ad9a4e5a1fbcad4.tar.gz
vyatta-cfg-system-a9cd192305b779cb62aecd858ad9a4e5a1fbcad4.zip
add init script to force udev settle before itf configured
Diffstat (limited to 'debian/vyatta-cfg-system.postinst.in')
-rw-r--r--debian/vyatta-cfg-system.postinst.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in
index 13ba6dc6..b747b786 100644
--- a/debian/vyatta-cfg-system.postinst.in
+++ b/debian/vyatta-cfg-system.postinst.in
@@ -22,6 +22,8 @@ esac
ln -sf ../vyatta-net.rules /etc/udev/rules.d/$vyatta_net_rules
+update-rc.d vyatta-udev start 21 S .
+
if [ "$sysconfdir" != "/etc" ]; then
# for "admin" level (FIXME)
sed -i 's/^# %sudo ALL=NOPASSWD: ALL/%sudo ALL=NOPASSWD: ALL/' /etc/sudoers