summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/rtadvd
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.d/rtadvd')
-rwxr-xr-xetc/rc.d/rtadvd6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/rc.d/rtadvd b/etc/rc.d/rtadvd
index 562498c..732e127 100755
--- a/etc/rc.d/rtadvd
+++ b/etc/rc.d/rtadvd
@@ -14,6 +14,8 @@
name="rtadvd"
rcvar="rtadvd_enable"
command="/usr/sbin/${name}"
+extra_commands="reload"
+reload_cmd="rtadvd_reload"
start_precmd="rtadvd_precmd"
rtadvd_precmd()
@@ -62,5 +64,9 @@ rtadvd_precmd()
return 0
}
+rtadvd_reload() {
+ /usr/sbin/rtadvctl reload
+}
+
load_rc_config $name
run_rc_command "$1"
OpenPOWER on IntegriCloud