diff options
author | smos <seth.mos@dds.nl> | 2011-11-21 20:15:25 +0100 |
---|---|---|
committer | smos <seth.mos@dds.nl> | 2011-11-21 20:15:25 +0100 |
commit | c377a909d612e4da6ce93e8e628ef48e6eec5660 (patch) | |
tree | 84bcd6bd25f985b13722079350a53f6755ece041 /etc | |
parent | 1e7e2e437c8334acc5e2f64a4f0d963827fcfcc0 (diff) | |
download | pfsense-c377a909d612e4da6ce93e8e628ef48e6eec5660.zip pfsense-c377a909d612e4da6ce93e8e628ef48e6eec5660.tar.gz |
Add a comment in the code and a log message to notify the shutdown of rtadvd
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/services.inc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc index eaa9354..4f4b55f 100644 --- a/etc/inc/services.inc +++ b/etc/inc/services.inc @@ -51,8 +51,11 @@ function services_rtadvd_configure() { echo "services_rtadvd_configure() being called $mt\n"; } + /* we need to shut down the rtadvd cleanly, otherwise it will send out the prefix + * information with a lifetime of 0 to notify clients of a (possible) new prefix */ if(is_process_running("rtadvd")) { - mwexec("killall rtadvd", true); + log_error("Shutting down Router Advertisment daemon cleanly") + mwexec("killall rtadvd"); } if (!is_array($config['dhcpdv6'])) |