+case "$ACTION" in
+ ifup)
+ # only work after the first normal startup
+ # also: no need to test, if enabled
+ [ -e '/var/etc/olsrd.conf' ] && {
+ olsrd_interface_needs_adding "$INTERFACE" "$DEVICE" && {
+ . /etc/rc.common /etc/init.d/olsrd restart
+ }
+ }
+ ;;
+esac