Commit Graph

78 Commits

Author SHA1 Message Date
rpaulo 7acb962baa RFC 3879 deprecated the IPv6 site-local prefix (fec0::/10):
* remove all references to $ip6sitelocal and output a warning
    message if the variable is defined.
    * introduce $ip6uniquelocal (defaults to 'NO') that will control the
    behaviour of the system when $ip6mode is ``router'' (i.e. fc00::/7
    will not be routed if the variable is ``NO'') as per RFC 4193.

Thanks to Jonathan A. Kollasch for pointing this out in PR 32152.
2005-11-24 17:28:45 +00:00
peter 0f31823d7c Write IPv4 and IPv6 with a small 'v'. 2005-02-22 16:53:11 +00:00
peter 3833bb8f30 Minor cleanup and tweaks, be consistent with the other system admin scripts. 2005-01-18 18:12:55 +00:00
peter 3fafe1c29d Support -current with binary packages installation. 2005-01-18 18:08:30 +00:00
peter 0db75d3501 Show "UID" on the first line (was broken after gawk -> nawk switch). 2005-01-12 17:58:45 +00:00
peter 07981e68ac Add a few missing settings and improve the description of some settings. 2005-01-11 23:00:59 +00:00
peter 17b1e54fa1 Remove script3. 2005-01-11 22:21:36 +00:00
peter 83a87c3208 Remove a now obsoleted file. 2005-01-11 22:19:51 +00:00
peter 80bd94becd Only try to change/update the settings listed in the form.
This stops sushi from mangling rc.conf when the form becomes out-of-sync
with /etc/defaults/rc.conf.

Reviewed by garbled.
2005-01-11 22:16:24 +00:00
wiz 5ef17f09e9 Fix typo reported by Jeff Ito in PR 28158. 2004-11-10 12:21:32 +00:00
peter d39f449dd7 Don't ignore the hostname setting in /etc/rc.conf but use it if it exists.
Also change the 'hostname -s' command to 'hostname' because the full name
is what we want.

Fixes my PR bin/25038.
Approved by christos.
2004-10-22 14:00:23 +00:00
erh bfbf351dcb PR misc/7716: add sushi support for the check_devices_ignore_fstypes
and find_core_ignore_fstypes options.
2004-09-28 15:06:15 +00:00
garbled 963b4816bd Fixes to sushi for handling ipv6 autoconfiguration mode in the rc.conf
file. Provided by Peter Postma in followup to PR 24645
2004-03-24 18:47:08 +00:00
garbled c008c5f8b8 More patches from Peter Postma 2004-03-10 01:19:45 +00:00
garbled eaea23aab0 Apply patches in PR bin/24645 by Peter Postma:
Here are some enhancements to sushi's System Maintenance menu.
	To summarize the changes:

	* Make a backup of the file before modifying it.
	* Fixes to get all menus/forms working.
	* Missing/invalid settings (like in rc.conf and inetd.conf)
	  have been added/removed.
	* Most files don't get overwritten now but are edited instead.
	  So specials settings in e.g. /etc/rc.conf don't get lost now.
	* Some help menu fixes. ($NetBSD$ tag has been removed because I
	  don't see how it would be useful for either user or developer).
2004-03-09 21:36:37 +00:00
garbled 52b2cb6a03 Apply patches from PR bin/24695 by Peter Postma:
The changes are:

        * rename "Security and Users" to "Users and Groups"
        * use default settings in /etc/usermgmt.conf (if it exists)
          when adding a new user.
        * fix output for 'List users'.
        * add the following menu's: Modify user, Change password, Add group,
          List groups, Delete group.
2004-03-09 20:06:42 +00:00
garbled 4d84a357b0 Apply patches from bin/24646 by Peter Postma to fix various process
related scripts:
* Don't check if the daemons ntpdate, virecover, ipfilter, samba
  are running (because they get only started at boot, or are wrappers
  to other scripts).
* Exclude lines with 'not supported' and 'not found' in the ouput.
* Top 15 cpu {usage,time} and memory: show really the 15 top daemons
  (instead of 14) and fix cpu time.
2004-03-09 19:33:48 +00:00
garbled c55eeb45eb Apply patch from bin/24562 by Peter Postma to fix errors with the user
management script.
2004-03-09 19:18:27 +00:00
wiz d20841bb64 Uppercase CPU, plural is CPUs. 2004-02-13 11:36:08 +00:00
salo 22a0ae4298 netbsd.org->NetBSD.org 2003-07-26 20:17:31 +00:00
takemura b8ce6e8201 Added touch panel calibration utility. 2002-08-27 14:12:09 +00:00
pooka 203649db47 list network interfaces in ascending order (foo0 .. foon instead of
foon .. foo0)
2002-08-01 09:43:16 +00:00
jdolecek ec977bae0f make sure at least one host is selected before changing /etc/hosts
Fixes bin/15713 by Tracy Di Marco White.
2002-07-26 07:29:06 +00:00
martin adbd854114 Sync with /etc/defaults/rc.conf: remove isdn_autoupdown and isdn_interfaces. 2002-04-11 13:20:22 +00:00
garbled ed4b98d40c This file had gotten out of date with /etc/defaults/rc.conf and caused sushi
to be very unhappy with life.  Audited this file again, which should
bring it back in line, and fix the problem noted by Bill Studenmund.
Thanks for taking the time to find the bug Bill.
2002-04-02 03:00:05 +00:00
lukem 5ee7ac8886 Replace $critical_filesystems_beforenet with $critical_filesystems_local .
Replace  $critical_filesystems            with  $critical_filesystems_remote .

The new names are now consistent with the type argument that
mount_critical_filesystems() is called with, and allows for other types to
be easily supported by that function.

For backwards compatibility purposes, if the now obsolete variable is defined
(even empty), it takes precedence over the new form, and you will be warned.
If you want to stop the warnings, update your rc.conf(5) settings!
2002-03-27 08:53:39 +00:00
garbled 43249cb446 Catch this file up to the ipfs edit made to rc.conf on feb 11th by Martii. 2002-02-21 20:00:13 +00:00
garbled f1536147ff Oops.. missed a bug. 2002-02-08 09:10:05 +00:00
garbled f83456b035 Be more careful about a usermgmt.conf file that doesn't exist. Problem
noticed by Thomas Klausner.
2002-02-08 08:48:21 +00:00
garbled ada5327a7a Apply fix from PR's 14442 and 14441 from Robert Elz to make the install
from source work.  Thanks Robert.
2002-02-07 16:12:31 +00:00
tv 8e6f7afb5b MKfoo=no -> NOfoo 2001-12-12 01:48:43 +00:00
atatat 89e0f1a4c6 Add 'check_pkgs' option. 2001-11-04 02:22:13 +00:00
augustss c2c3727493 Add moused configuration. 2001-10-30 08:44:57 +00:00
wiz 1e378c4c12 precede, not preceed. 2001-08-20 12:00:46 +00:00
kei 5f59dcf516 typo. 2001-08-06 06:24:52 +00:00
garbled ea5b17a729 Add help data for sshd.conf 2001-08-02 05:42:32 +00:00
garbled 7221a04eea Add the capabilty to sushi to edit the /etc/sshd.conf file. The defaults
are taken from the manpage.
2001-08-02 05:41:18 +00:00
garbled 7b1d53fb84 Clean up the output a bit, and break the inet and inet6 commands into two
separate commands on the now and both settings.  Otherwise ifconfig thinks
you are setting up a point2point link.
2001-08-01 09:10:57 +00:00
garbled 832c182f1b Add logic to automatically restart inetd after processing changes. 2001-08-01 08:11:33 +00:00
garbled 0e3bab31f8 Modify sushi to use the -l option to ypinit. Now sushi can actually set
up YP for the user.
2001-08-01 08:04:26 +00:00
garbled 6aceac6af3 bring this up to date w/ v 1.19 of rc.conf 2001-08-01 04:06:06 +00:00
garbled 9192572bc7 Oops.. forgot some of my own syntax. how silly. 2001-08-01 01:33:32 +00:00
garbled a0bf5e0512 sync this with the latest security.conf v1.6 2001-08-01 01:31:23 +00:00
garbled 45e0b1feb1 Forgot to include nwid.sed in the makefile for installation 2001-07-14 06:51:27 +00:00
garbled d8cc4a66d8 Allways quote the nwid when passing to ifconfig or building the ifconfig.xx0
script
2001-07-12 19:11:43 +00:00
garbled 9a91eaf49a Modify the handling of the nwid string. 2 problems:
1)  Noted by Brett Lymn, the nwkey string, when run as non-root, reads *****,
which causes the shell to go wonky and read in lists of files.

2) The sed pattern was all wrong.  It couldn't handle quoted network
ID's, and would grab the rest of the line.  Add a sed script to handle this.
2001-07-12 19:08:05 +00:00
wiz 0a600be867 receive, not recieve 2001-06-12 15:17:10 +00:00
garbled 337e8af6f6 Add a new sushi menu, system/localtime. This menu will allow the user to
set his /etc/localtime file.  It's functionally similar to the option in
sysinst.
2001-04-29 04:53:05 +00:00
garbled 90913cfc01 Add the sysctl form to the system menu. This will allow users to both set
sysctl's interactively, and save them in /etc/sysctl.conf.
2001-04-26 02:44:46 +00:00
garbled 221495cc86 Add the entire "processes" menu. This will allow
starting/stopping/showing/restarting of things in /etc/rc.d.  Also add a
few quick top(1)-like utilties just to round the menu off.
2001-04-26 02:26:16 +00:00