head	1.5;
access;
symbols
	perseant-exfatfs-base-20250801:1.5
	perseant-exfatfs-base-20240630:1.5
	cjep_sun2x:1.5.0.44
	cjep_sun2x-base:1.5
	cjep_staticlib_x-base1:1.5
	cjep_staticlib_x:1.5.0.42
	cjep_staticlib_x-base:1.5
	phil-wifi-20200421:1.5
	phil-wifi-20200411:1.5
	phil-wifi-20200406:1.5
	pgoyette-compat-merge-20190127:1.5
	pgoyette-compat-20190127:1.5
	pgoyette-compat-20190118:1.5
	pgoyette-compat-1226:1.5
	pgoyette-compat-1126:1.5
	pgoyette-compat-1020:1.5
	pgoyette-compat-0930:1.5
	pgoyette-compat-0906:1.5
	pgoyette-compat-0728:1.5
	pgoyette-compat-0625:1.5
	pgoyette-compat-0521:1.5
	pgoyette-compat-0502:1.5
	pgoyette-compat-0422:1.5
	pgoyette-compat-0415:1.5
	pgoyette-compat-0407:1.5
	pgoyette-compat-0330:1.5
	pgoyette-compat-0322:1.5
	pgoyette-compat-0315:1.5
	pgoyette-compat:1.5.0.40
	pgoyette-compat-base:1.5
	perseant-stdc-iso10646:1.5.0.38
	perseant-stdc-iso10646-base:1.5
	prg-localcount2-base3:1.5
	prg-localcount2-base2:1.5
	prg-localcount2-base1:1.5
	prg-localcount2:1.5.0.36
	prg-localcount2-base:1.5
	pgoyette-localcount-20170426:1.5
	bouyer-socketcan-base1:1.5
	pgoyette-localcount-20170320:1.5
	bouyer-socketcan:1.5.0.34
	bouyer-socketcan-base:1.5
	pgoyette-localcount-20170107:1.5
	pgoyette-localcount-20161104:1.5
	localcount-20160914:1.5
	pgoyette-localcount-20160806:1.5
	pgoyette-localcount-20160726:1.5
	pgoyette-localcount:1.5.0.32
	pgoyette-localcount-base:1.5
	netbsd-5-2-3-RELEASE:1.5
	netbsd-5-1-5-RELEASE:1.5
	yamt-pagecache-base9:1.5
	yamt-pagecache-tag8:1.5
	tls-earlyentropy:1.5.0.28
	tls-earlyentropy-base:1.5
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.5
	riastradh-drm2-base3:1.5
	netbsd-5-2-2-RELEASE:1.5
	netbsd-5-1-4-RELEASE:1.5
	netbsd-5-2-1-RELEASE:1.5
	netbsd-5-1-3-RELEASE:1.5
	agc-symver:1.5.0.30
	agc-symver-base:1.5
	tls-maxphys-base:1.5
	yamt-pagecache-base8:1.5
	netbsd-5-2:1.5.0.26
	yamt-pagecache-base7:1.5
	netbsd-5-2-RELEASE:1.5
	netbsd-5-2-RC1:1.5
	yamt-pagecache-base6:1.5
	yamt-pagecache-base5:1.5
	yamt-pagecache-base4:1.5
	netbsd-5-1-2-RELEASE:1.5
	netbsd-5-1-1-RELEASE:1.5
	yamt-pagecache-base3:1.5
	yamt-pagecache-base2:1.5
	yamt-pagecache:1.5.0.24
	yamt-pagecache-base:1.5
	bouyer-quota2-nbase:1.5
	bouyer-quota2:1.5.0.22
	bouyer-quota2-base:1.5
	matt-nb5-pq3:1.5.0.20
	matt-nb5-pq3-base:1.5
	netbsd-5-1:1.5.0.18
	netbsd-5-1-RELEASE:1.5
	netbsd-5-1-RC4:1.5
	netbsd-5-1-RC3:1.5
	netbsd-5-1-RC2:1.5
	netbsd-5-1-RC1:1.5
	netbsd-5-0-2-RELEASE:1.5
	netbsd-5-0-1-RELEASE:1.5
	jym-xensuspend-nbase:1.5
	netbsd-5-0:1.5.0.16
	netbsd-5-0-RELEASE:1.5
	netbsd-5-0-RC4:1.5
	netbsd-5-0-RC3:1.5
	netbsd-5-0-RC2:1.5
	jym-xensuspend:1.5.0.14
	jym-xensuspend-base:1.5
	netbsd-5-0-RC1:1.5
	netbsd-5:1.5.0.12
	netbsd-5-base:1.5
	yamt-pf42-base4:1.5
	yamt-pf42-base3:1.5
	hpcarm-cleanup-nbase:1.5
	yamt-pf42-base2:1.5
	yamt-pf42:1.5.0.10
	yamt-pf42-base:1.5
	mjf-devfs2:1.5.0.8
	mjf-devfs2-base:1.5
	keiichi-mipv6-nbase:1.5
	keiichi-mipv6:1.5.0.6
	keiichi-mipv6-base:1.5
	cube-autoconf:1.5.0.4
	cube-autoconf-base:1.5
	hpcarm-cleanup:1.5.0.2
	hpcarm-cleanup-base:1.5
	netbsd-3-1-1-RELEASE:1.4
	netbsd-3-0-3-RELEASE:1.4
	netbsd-3-1:1.4.0.6
	netbsd-3-1-RELEASE:1.4
	netbsd-3-0-2-RELEASE:1.4
	netbsd-3-1-RC4:1.4
	netbsd-3-1-RC3:1.4
	netbsd-3-1-RC2:1.4
	netbsd-3-1-RC1:1.4
	netbsd-3-0-1-RELEASE:1.4
	netbsd-3-0:1.4.0.4
	netbsd-3-0-RELEASE:1.4
	netbsd-3-0-RC6:1.4
	netbsd-3-0-RC5:1.4
	netbsd-3-0-RC4:1.4
	netbsd-3-0-RC3:1.4
	netbsd-3-0-RC2:1.4
	netbsd-3-0-RC1:1.4
	netbsd-2-0-3-RELEASE:1.3
	netbsd-2-1:1.3.0.6
	netbsd-2-1-RELEASE:1.3
	netbsd-2-1-RC6:1.3
	netbsd-2-1-RC5:1.3
	netbsd-2-1-RC4:1.3
	netbsd-2-1-RC3:1.3
	netbsd-2-1-RC2:1.3
	netbsd-2-1-RC1:1.3
	netbsd-2-0-2-RELEASE:1.3
	netbsd-3:1.4.0.2
	netbsd-3-base:1.4
	netbsd-2-0-1-RELEASE:1.3
	netbsd-2:1.3.0.4
	netbsd-2-base:1.3
	netbsd-2-0-RELEASE:1.3
	netbsd-2-0-RC5:1.3
	netbsd-2-0-RC4:1.3
	netbsd-2-0-RC3:1.3
	netbsd-2-0-RC2:1.3
	netbsd-2-0-RC1:1.3
	netbsd-2-0:1.3.0.2
	netbsd-2-0-base:1.3
	netbsd-1-6-PATCH002-RELEASE:1.2
	netbsd-1-6-PATCH002:1.2
	netbsd-1-6-PATCH002-RC4:1.2
	netbsd-1-6-PATCH002-RC3:1.2
	netbsd-1-6-PATCH002-RC2:1.2
	netbsd-1-6-PATCH002-RC1:1.2
	netbsd-1-6-PATCH001:1.2
	netbsd-1-6-PATCH001-RELEASE:1.2
	netbsd-1-6-PATCH001-RC3:1.2
	netbsd-1-6-PATCH001-RC2:1.2
	netbsd-1-6-PATCH001-RC1:1.2
	fvdl_fs64_base:1.2
	netbsd-1-6-RELEASE:1.2
	netbsd-1-6-RC3:1.2
	netbsd-1-6-RC2:1.2
	netbsd-1-6-RC1:1.2
	netbsd-1-6:1.2.0.2
	netbsd-1-6-base:1.2;
locks; strict;
comment	@# @;


1.5
date	2006.02.08.00.47.33;	author christos;	state dead;
branches;
next	1.4;

1.4
date	2005.01.18.18.12.55;	author peter;	state Exp;
branches;
next	1.3;

1.3
date	2004.03.09.21.36.37;	author garbled;	state Exp;
branches;
next	1.2;

1.2
date	2001.04.23.09.07.49;	author garbled;	state Exp;
branches;
next	1.1;

1.1
date	2001.03.06.21.21.07;	author garbled;	state Exp;
branches;
next	;


desc
@@


1.5
log
@Bye bye sushi config files (moved to othersrc via repository copy)
@
text
@#!/bin/sh
# $NetBSD: script1,v 1.4 2005/01/18 18:12:55 peter Exp $

BIGLIST="exim postfix-current sendmail88"
MAILERCONF="/etc/mailer.conf"

sendmail=0
grep sendmail/sendmail $MAILERCONF >/dev/null
if [ $? -eq 0 ]; then
	grep "^#.*sendmail/sendmail" $MAILERCONF >/dev/null
	if [ $? -ne 0 ]; then
		sendmail=1
	fi
fi

postfix=0
grep postfix/sendmail $MAILERCONF >/dev/null
if [ $? -eq 0 ]; then
	grep "^#.*postfix/sendmail" $MAILERCONF >/dev/null
	if [ $? -ne 0 ]; then
		postfix=1
	fi
fi

if [ $postfix -eq 1 ]; then
	echo "postfix"
	echo "sendmail"
else
	echo "sendmail"
	echo "postfix"
fi

for i in $BIGLIST
do
	pkg_info -e $i >/dev/null
	if [ $? -eq 0 ]; then
		echo "$i"
	fi
done
@


1.4
log
@Minor cleanup and tweaks, be consistent with the other system admin scripts.
@
text
@d2 1
a2 1
# $NetBSD: script1,v 1.3 2004/03/09 21:36:37 garbled Exp $
@


1.3
log
@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).
@
text
@d2 1
a2 1
# $NetBSD: script1,v 1.2 2001/04/23 09:07:49 garbled Exp $
d36 1
a36 1
	if [ "$?" = "0" ]; then
a39 1

@


1.2
log
@Actually define $BIGLIST, and fix the logic a bit.
@
text
@d2 1
a2 1
# $NetBSD: script1,v 1.1 2001/03/06 21:21:07 garbled Exp $
d5 1
d7 16
a22 5
grep sendmail/sendmail /etc/mailer.conf >/dev/null
STATA="$?"
if [ "$STATA" = "0" ]; then
	echo "sendmail"
	echo "postfix"
d25 1
a25 3
grep postfix/sendmail /etc/mailer.conf >/dev/null
STATB="$?"
if [ "$STATB" = "0" ]; then
d28 1
a28 3
fi

if [ "$STATA" != "0" -a "$STATB" != "0" ]; then
@


1.1
log
@Add scripts to edit your /etc/mailer.conf file.  Currently it can also deal
with the exim/sendmail88 and postfix-current packages.
@
text
@d2 3
a4 1
# $NetBSD$
d7 2
a8 1
if [ "$?" = "0" ]; then
d14 2
a15 1
if [ "$?" = "0" ]; then
d20 5
d32 1
@

