NetBSD/usr.sbin
jym a0e5aa6d82 /etc/defaults/rc.conf can be modified at build time by getting additional
arch-specific hooks appended to its end (currently: i386 and amd64).

Handle this case in postinstall(8) by checking whether we are in
$SOURCEMODE or not, and generate the correct rc.conf file on the fly in
case we have to. Otherwise, postinstall(8) may install the default one
obtained from a source directory that does not have the MD hooks
appended to it.

Problem reported by wiz@. Thanks!
2011-09-06 21:39:30 +00:00
..
ac Use __dead. 2011-08-29 20:38:53 +00:00
accton Use __dead. 2011-08-29 20:38:53 +00:00
acpitools Use __dead. 2011-08-29 20:38:53 +00:00
altq Use __dead. 2011-08-29 20:38:53 +00:00
apm
apmd
arp
bad144 NULL does not need a cast 2011-08-31 16:24:54 +00:00
bootp Use __dead. 2011-08-29 20:38:53 +00:00
btattach Mark types as static and usage as dead. 2011-08-27 22:17:53 +00:00
btconfig static + __dead 2011-08-27 22:22:01 +00:00
btdevctl static + __dead 2011-08-27 22:22:01 +00:00
bthcid static + __dead 2011-08-27 22:22:01 +00:00
btpand Use __dead. 2011-08-29 20:38:53 +00:00
catman Use __dead. 2011-08-29 20:38:53 +00:00
chroot Initialize local variables that previously were global (user, group). 2011-08-28 08:32:47 +00:00
cnwctl
cpuctl static + __dead 2011-08-27 22:38:48 +00:00
crash Use __dead 2011-08-31 13:32:36 +00:00
dev_mkdb static openinfo. dead, not unused usage. 2011-08-30 10:04:50 +00:00
dhcp remove gcc-4.5 hacks 2011-08-16 16:37:07 +00:00
diskpart ANSIfy + static + dead. 2011-08-30 10:12:06 +00:00
dumpfs static + __dead 2011-08-30 18:24:17 +00:00
dumplfs
edquota Minor cosmetic fixes, no semantic changes. (object file diffs have been 2011-07-10 07:54:49 +00:00
eeprom
envstat Use __dead 2011-08-31 13:32:36 +00:00
eshconfig ANSIfy + static + __dead 2011-08-30 18:28:59 +00:00
etcupdate
extattrctl Use __dead 2011-08-31 13:32:36 +00:00
faithd __dead + __printflike 2011-08-30 21:14:06 +00:00
flashctl
fssconfig static + __dead 2011-08-30 18:30:13 +00:00
fusermount
fwctl Use __dead 2011-08-31 13:32:36 +00:00
gpioctl static + __dead 2011-08-30 18:50:48 +00:00
grfconfig
gspa Use __dead and __printflike 2011-08-30 18:53:41 +00:00
hdaudioctl Use __dead 2011-08-31 13:32:36 +00:00
ifmcstat
ifwatchd static + __dead 2011-08-30 18:57:38 +00:00
inetd Use __dead 2011-08-31 13:32:36 +00:00
installboot Use __dead 2011-08-31 13:32:36 +00:00
iopctl static + __dead 2011-08-30 18:57:38 +00:00
iostat static + __dead 2011-08-30 19:06:06 +00:00
ipf Requires -Wno-array-bounds with clang now. 2011-08-09 13:06:10 +00:00
ipwctl
irdaattach static + __dead 2011-08-30 19:06:06 +00:00
isdn NULL does not need a cast 2011-08-31 16:24:54 +00:00
iteconfig
iwictl
kgmon
kvm_mkdb
lastlogin __dead + ANSIfy 2011-08-31 13:31:29 +00:00
ldpd Use __dead 2011-08-31 13:32:36 +00:00
link ANSIfy + __dead 2011-08-30 19:18:17 +00:00
lmcconfig
lockstat static + __dead 2011-08-30 19:20:20 +00:00
lpr NULL does not need a cast 2011-08-31 16:24:54 +00:00
lptctl
mailwrapper
makefs more fixes from martin 2011-08-23 19:57:24 +00:00
map-mbone
mdconfig
mdsetimage
memswitch
mld6query static + __dead 2011-08-30 21:18:11 +00:00
mlxctl avoid type punned warnings 2011-08-14 17:57:44 +00:00
mmcformat
mopd Fix build on mips (NOAOUT case). 2011-08-31 13:09:10 +00:00
mountd ANSIfy. Use __dead. 2011-08-30 20:00:58 +00:00
moused don't truncate time_t 2011-08-31 16:32:48 +00:00
mrinfo Use __dead 2011-08-31 13:32:36 +00:00
mrouted NULL does not need a cast 2011-08-31 16:24:54 +00:00
mscdlabel
mtrace Use __dead 2011-08-31 13:32:36 +00:00
mtree Use __dead and __printflike 2011-08-29 20:37:43 +00:00
ndbootd
ndiscvt
ndp Use __dead 2011-08-31 13:32:36 +00:00
netgroup_mkdb
nfsd static + ANSIfy + __dead 2011-08-30 20:07:31 +00:00
npf Use __dead 2011-08-31 13:32:36 +00:00
ofctl
paxctl
pcictl static + __dead 2011-08-30 20:08:38 +00:00
perfused Fast backward code to 1989 and use ANSI C consistently. Use __dead. 2011-08-30 20:17:00 +00:00
pf Use __dead 2011-08-31 13:32:36 +00:00
postinstall /etc/defaults/rc.conf can be modified at build time by getting additional 2011-09-06 21:39:30 +00:00
powerd
pppd don't set flags in the wrong fields. 2011-07-24 01:35:15 +00:00
psrset Use __dead 2011-08-31 13:32:36 +00:00
pstat Use __dead 2011-08-31 13:32:36 +00:00
puffs Use __dead 2011-08-31 13:32:36 +00:00
pvcsif static + __dead 2011-08-30 21:27:00 +00:00
pvctxctl Localize variables. Use __dead 2011-08-30 21:28:27 +00:00
pwd_mkdb NULL does not need a cast 2011-08-31 16:24:54 +00:00
quot
quotacheck
quotactl Use __dead 2011-08-31 13:32:36 +00:00
quotaon
racoon
racoonctl
rarpd static + __printflike + __dead 2011-08-30 20:25:18 +00:00
rbootd Use __dead 2011-08-31 13:32:36 +00:00
rdate
repquota
rip6query ANSIfy + static + __dead 2011-08-30 21:17:06 +00:00
rmt
route6d NULL does not need a cast 2011-08-31 16:24:54 +00:00
rpc.bootparamd ANSIFy + static + __dead 2011-08-30 20:29:41 +00:00
rpc.lockd Apply casts to cases where xdrproc_t is expected but is not 2011-08-30 17:06:20 +00:00
rpc.pcnfsd reinstate NULL cast by request, where the NULL was being passed as a vararg 2011-09-01 07:18:50 +00:00
rpc.statd
rpc.yppasswdd NULL does not need a cast 2011-08-31 16:24:54 +00:00
rpcbind NULL does not need a cast 2011-08-31 16:24:54 +00:00
rtadvd
rtsold Use __dead. 2011-08-29 20:38:53 +00:00
rwhod Use __dead 2011-08-31 13:32:36 +00:00
sa
schedctl Use __dead 2011-08-31 13:32:36 +00:00
screenblank static + __dead 2011-08-30 20:33:30 +00:00
sdpd Use __dead 2011-08-31 13:32:36 +00:00
services_mkdb Use __dead 2011-08-31 13:32:36 +00:00
sesd
sliplogin static + ANSIfy + __dead 2011-08-30 20:42:22 +00:00
spray static + ANSIfy + __dead 2011-08-30 20:45:31 +00:00
srtconfig
sti
sunlabel
sup NULL does not need a cast 2011-08-31 16:24:54 +00:00
syslogd NULL does not need a cast 2011-08-31 16:24:54 +00:00
tadpolectl
tcpdchk NULL does not need a cast 2011-08-31 16:24:54 +00:00
tcpdmatch
tcpdrop
tcpdump
timed Use __dead 2011-08-31 13:32:36 +00:00
tpctl
tprof
traceroute
traceroute6
trpt static + __dead 2011-08-30 20:49:29 +00:00
unlink ANSIfy + __dead 2011-08-30 20:50:24 +00:00
usbdevs static + __dead 2011-08-30 20:51:29 +00:00
user NULL does not need a cast 2011-08-31 16:24:54 +00:00
veriexecgen
videomode
vipw NULL does not need a cast 2011-08-31 16:24:54 +00:00
vnconfig ANSIfy + static + __dead 2011-08-30 20:54:18 +00:00
wake Use __dead 2011-08-31 13:32:36 +00:00
wiconfig ANSIfy + static + __dead 2011-08-30 20:54:18 +00:00
wlanctl Use __dead 2011-08-31 13:32:36 +00:00
wsconscfg
wsfontload Use __dead 2011-08-31 13:32:36 +00:00
wsmoused
wsmuxctl static + __dead 2011-08-30 21:03:31 +00:00
ypbind Apply casts to cases where xdrproc_t is expected but is not 2011-08-30 17:06:20 +00:00
yppoll Apply casts to cases where xdrproc_t is expected but is not 2011-08-30 17:06:20 +00:00
ypserv static + __dead 2011-08-30 21:03:31 +00:00
ypset ANSIfy 2011-08-27 22:41:35 +00:00
zdump - no need for gcc-4.5 hacks 2011-08-16 07:52:32 +00:00
zic
Makefile Break up list of directories by first letter. 2011-08-01 23:19:52 +00:00
Makefile.inc