Source-Changes-HG archive

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

[src/trunk]: src/etc no need to mount /usr just for sysctl, it is in /sbin now.



details:   https://anonhg.NetBSD.org/src/rev/eb1ddf70b32d
branches:  trunk
changeset: 480642:eb1ddf70b32d
user:      itojun <itojun%NetBSD.org@localhost>
date:      Mon Jan 17 02:37:59 2000 +0000

description:
no need to mount /usr just for sysctl, it is in /sbin now.

diffstat:

 etc/netstart |  5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diffs (21 lines):

diff -r edea9af23495 -r eb1ddf70b32d etc/netstart
--- a/etc/netstart      Mon Jan 17 02:36:31 2000 +0000
+++ b/etc/netstart      Mon Jan 17 02:37:59 2000 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh -
 #
-#      $NetBSD: netstart,v 1.67 1999/12/20 15:51:14 itojun Exp $
+#      $NetBSD: netstart,v 1.68 2000/01/17 02:37:59 itojun Exp $
 #      from: @(#)netstart      8.1 (Berkeley) 7/23/93
 
 if [ -f /etc/rc.subr ]; then
@@ -211,9 +211,6 @@
        route add -inet6 ::ffff:0.0.0.0 -prefixlen 96 ::1 -reject
        route add -inet6 ::0.0.0.0 -prefixlen 96 ::1 -reject
 
-       # sysctl is in /usr - need to ensure it is mounted
-       mount /usr >/dev/null 2>&1      
-
        sysctl -w net.inet6.ip6.forwarding=0
        sysctl -w net.inet6.ip6.accept_rtadv=0
        if checkyesno ip6forwarding; then



Home | Main Index | Thread Index | Old Index