From 2ae209526f843e33d27754f37a6e137300f96050 Mon Sep 17 00:00:00 2001 From: Tom Grennan Date: Wed, 23 Jan 2008 15:29:56 -0800 Subject: Revert "only rescan interfaces if vyatta udev script is installed" This reverts commit 85b14c8232b1e59ce9bb42bb69935f2349823b96. --- etc/init.d/vyatta-ofr | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'etc/init.d/vyatta-ofr') diff --git a/etc/init.d/vyatta-ofr b/etc/init.d/vyatta-ofr index 21fcc36..5950651 100755 --- a/etc/init.d/vyatta-ofr +++ b/etc/init.d/vyatta-ofr @@ -108,12 +108,13 @@ start () chgrp ${GROUP} ${vyatta_configdir} log_action_end_msg $? init_bootfile - if [ -e /lib/udev/vyatta_net_name ] ; then - log_daemon_msg "Rescan Network Interfaces" - ( udevtrigger --verbose --subsystem-match=net && udevsettle ) | \ - while read itf ; do log_progress_msg ${itf##*/} ; done - log_end_msg $? - fi + log_end_msg $? + log_daemon_msg "Rescan Network Interfaces" + ( udevtrigger --verbose --subsystem-match=net && udevsettle ) | \ + while read itf ; do + log_progress_msg ${itf##*/} + done + log_end_msg $? log_daemon_msg "Starting Vyatta Router" migrate_bootfile for s in ${subinit[@]} ; do -- cgit v1.2.3