summaryrefslogtreecommitdiff
path: root/etc/init.d/vyatta-ofr
diff options
context:
space:
mode:
Diffstat (limited to 'etc/init.d/vyatta-ofr')
-rwxr-xr-xetc/init.d/vyatta-ofr10
1 files changed, 9 insertions, 1 deletions
diff --git a/etc/init.d/vyatta-ofr b/etc/init.d/vyatta-ofr
index aab2023..6c4b475 100755
--- a/etc/init.d/vyatta-ofr
+++ b/etc/init.d/vyatta-ofr
@@ -103,10 +103,18 @@ load_bootfile ()
start ()
{
- log_daemon_msg "Starting Vyatta Router"
+ log_daemon_msg "Mounting Vyatta Config"
mount -o nosuid,nodev,mode=775 -t tmpfs none ${vyatta_configdir}
chgrp ${GROUP} ${vyatta_configdir}
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 $?
+ log_daemon_msg "Starting Vyatta Router"
migrate_bootfile
for s in ${subinit[@]} ; do
log_progress_msg $s