diff options
Diffstat (limited to 'etc/init.d/vyatta-ofr')
-rwxr-xr-x | etc/init.d/vyatta-ofr | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/etc/init.d/vyatta-ofr b/etc/init.d/vyatta-ofr index 5950651..21fcc36 100755 --- a/etc/init.d/vyatta-ofr +++ b/etc/init.d/vyatta-ofr @@ -108,13 +108,12 @@ start () chgrp ${GROUP} ${vyatta_configdir} log_action_end_msg $? init_bootfile - 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 $? + 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_daemon_msg "Starting Vyatta Router" migrate_bootfile for s in ${subinit[@]} ; do |