olsrd: init: verbose logging if daemon-startup fails. till now everything is quiet in this situation. reproduce via configuring httpinfo-plugin on ipv6-socket (which throws an silent error)

This commit is contained in:
Bastian Bittorf 2013-04-19 12:36:03 +02:00
parent 08ab70a984
commit c92fa19ddc
1 changed files with 4 additions and 0 deletions

View File

@ -817,8 +817,12 @@ start() {
return 1
else
service_start /usr/sbin/olsrd -f "$OLSRD_CONFIG_FILE" -nofork
service_check /usr/sbin/olsrd || {
log "startup-error: check via: '/usr/sbin/olsrd -f \"$OLSRD_CONFIG_FILE\" -nofork'"
}
fi
fi
olsrd_setup_smartgw_rules
}