Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc/rc.d Use the configured IP6ADDRCTL_CMD for stopping also.



details:   https://anonhg.NetBSD.org/src/rev/67e7f9880000
branches:  trunk
changeset: 744854:67e7f9880000
user:      kim <kim%NetBSD.org@localhost>
date:      Fri Feb 14 12:12:07 2020 +0000

description:
Use the configured IP6ADDRCTL_CMD for stopping also.

diffstat:

 etc/rc.d/ip6addrctl |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 7797be470cc2 -r 67e7f9880000 etc/rc.d/ip6addrctl
--- a/etc/rc.d/ip6addrctl       Fri Feb 14 09:39:57 2020 +0000
+++ b/etc/rc.d/ip6addrctl       Fri Feb 14 12:12:07 2020 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: ip6addrctl,v 1.4 2020/01/27 08:33:24 kim Exp $
+# $NetBSD: ip6addrctl,v 1.5 2020/02/14 12:12:07 kim Exp $
 # FreeBSD: head/etc/rc.d/ip6addrctl 270836 2014-08-30 07:08:10Z hrs
 #
 
@@ -86,7 +86,7 @@
 
 ip6addrctl_stop()
 {
-       ip6addrctl flush >/dev/null 2>&1
+       ${IP6ADDRCTL_CMD} flush >/dev/null 2>&1
 }
 
 load_rc_config $name



Home | Main Index | Thread Index | Old Index