mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-25 12:15:32 +03:00
21 lines
371 B
Text
21 lines
371 B
Text
#!/sbin/openrc-run
|
|
|
|
depend() {
|
|
need net
|
|
use syslog
|
|
|
|
}
|
|
|
|
start() {
|
|
ebegin "Starting DHCP Probe"
|
|
start-stop-daemon --start --quiet --background --make-pidfile \
|
|
--pidfile /var/run/dhcp_probe.pid --exec /usr/sbin/dhcp_probe \
|
|
-- $PARAMS
|
|
eend $?
|
|
}
|
|
|
|
stop() {
|
|
ebegin "Stopping DHCP Probe"
|
|
start-stop-daemon --stop --quiet --pidfile /var/run/dhcp_probe.pid
|
|
eend $?
|
|
}
|