gluon/package/gluon-radvd/files/etc/init.d/gluon-radvd

16 lines
247 B
Plaintext
Raw Normal View History

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