gluon/package/gluon-radvd/files/etc/init.d/gluon-radvd
2014-08-04 20:08:40 +02:00

16 lines
247 B
Bash
Executable File

#!/bin/sh /etc/rc.common
START=50
SERVICE_WRITE_PID=1
SERVICE_DAEMONIZE=1
start() {
service_start /usr/sbin/gluon-radvd -i br-client -p $(lua -e 'print(require("gluon.site_config").prefix6)')
}
stop() {
service_stop /usr/sbin/gluon-radvd
}