0
0
mirror of https://github.com/openwrt/routing.git synced 2025-02-23 04:36:15 +00:00
routing/oonf-olsrd2/files/olsrd2.init
Maciej Krüger 618e80a06a oonf-olsrd2: add support to check if service is running
Signed-off-by: Maciej Krüger <mkg20001@gmail.com>
2023-06-11 09:37:15 +02:00

12 lines
232 B
Bash
Executable File

#!/bin/sh /etc/rc.common
START=82
DAEMON='olsrd2'
[ -n "$IPKG_INSTROOT" ] || {
. /lib/functions/oonf_init.sh
extra_command "running" "Check if service is running"
extra_command "status" "Service status"
}