Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Sep 1998 17:08:42 +0600
From:      Konstantin Chuguev <joy@urc.ac.ru>
To:        freebsd-hackers@FreeBSD.ORG
Subject:   Proposal for moving /usr/sbin/sysctl -> /sbin/sysctl
Message-ID:  <35F3BEBA.17D9375A@urc.ac.ru>

next in thread | raw e-mail | index | archive | help
Hi, FreeBSD guys.

Wouldn't it be better to have the sysctl utility in /sbin instead of /usr/sbin?

One example:

I have a router which mounts its /usr from another host via NFS.
As it is a router, it calls sysctl -w net.inet.ip.forwarding=1
from /etc/rc.network on startup. But at that time, /usr is not mounted yet :-(

Now I have to copy /usr/sbin/sysctl to /sbin/. It has better to be done by
the distribution :-)

BTW, grep sysctl /etc/rc.network:
            sysctl -w net.inet.tcp.rfc1323=0 >/dev/null 2>&1
            sysctl -w net.inet.tcp.rfc1644=0 >/dev/null 2>&1
            sysctl -w net.inet.ip.forwarding=1 >/dev/null 2>&1
            sysctl -w net.inet.ip.sourceroute=1 >/dev/null 2>&1
            sysctl -w net.inet.ip.accept_sourceroute=1 >/dev/null 2>&1
            sysctl -w net.ipx.ipx.ipxforwarding=1 >/dev/null 2>&1
            sysctl -w net.link.ether.inet.proxyall=1 2>&1
                    sysctl -w vfs.nfs.nfs_privport=1 >/dev/null 2>&1

I am sorry if I'm writing to wrong group. I just don't know mechanisms
for the right way of such proposals.

--
	Konstantin V. Chuguev.		System administrator of Southern
	http://www.urc.ac.ru/~joy/	Ural Regional Center of FREEnet,
	mailto:joy@urc.ac.ru		Chelyabinsk, Russia.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35F3BEBA.17D9375A>