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/ee00262308ea
branches:  trunk
changeset: 1007329:ee00262308ea
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 6f0f05b73dfe -r ee00262308ea 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