From owner-freebsd-hackers Mon Sep 7 04:12:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA25469 for freebsd-hackers-outgoing; Mon, 7 Sep 1998 04:12:29 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from rnocserv.urc.ac.ru (rnocserv.urc.ac.ru [193.233.85.48]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA25317 for ; Mon, 7 Sep 1998 04:10:34 -0700 (PDT) (envelope-from joy@urc.ac.ru) Received: from urc.ac.ru (y.urc.ac.ru [193.233.85.37]) by rnocserv.urc.ac.ru (8.8.8/8.8.8) with ESMTP id RAA00228 for ; Mon, 7 Sep 1998 17:08:42 +0600 (ESS) (envelope-from joy@urc.ac.ru) Message-ID: <35F3BEBA.17D9375A@urc.ac.ru> Date: Mon, 07 Sep 1998 17:08:42 +0600 From: Konstantin Chuguev Organization: Southern Ural Regional Center of FREEnet X-Mailer: Mozilla 4.5b1 [en] (X11; I; FreeBSD 3.0-CURRENT i386) X-Accept-Language: ru,en MIME-Version: 1.0 To: freebsd-hackers@FreeBSD.ORG Subject: Proposal for moving /usr/sbin/sysctl -> /sbin/sysctl Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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