xref: /netbsd-src/usr.bin/crunch/examples/fixit.conf (revision 258cf0abec6176a66ff8bb40edc3c05bb0245ffe)
1*258cf0abSroy#	$NetBSD: fixit.conf,v 1.3 2012/04/21 12:27:29 roy Exp $
288a54d8aSperry#
3ee36043fScgd# fixit.conf - put in anything we think we might want on a fixit floppy
4ee36043fScgd
5ee36043fScgd# first, we list the source dirs that our programs reside in.  These are
6ee36043fScgd# searched in order listed to find the dir containing each program.
7ee36043fScgd
8ee36043fScgdsrcdirs /usr/src/bin /usr/src/sbin /usr/src/usr.bin /usr/src/usr.sbin
9ee36043fScgdsrcdirs /usr/src/gnu/usr.bin
10ee36043fScgd
11ee36043fScgd# second, we list all the programs we want to include in our crunched binary.
12ee36043fScgd# The order doesn't matter.  Any program that needs hard links to it gets an
13ee36043fScgd# `ln' directive.
14ee36043fScgd
15ee36043fScgd# /bin stuff
16ee36043fScgd
17ee36043fScgdprogs cat chmod cp date dd df echo ed expr hostname kill ln ls mkdir
18ee36043fScgdprogs mt mv pwd rcp rm rmdir sh sleep stty sync test
19ee36043fScgd
20ee36043fScgdln test [
21ee36043fScgdln sh -sh		# init invokes the shell this way
22ee36043fScgdln sh -
23ee36043fScgd
24ee36043fScgd# /sbin stuff
25ee36043fScgd
26ee36043fScgdprogs badsect chown clri disklabel dump dmesg fdisk fsck halt ifconfig init
27ee36043fScgdprogs mknod mount newfs ping reboot restore swapon umount
28ee36043fScgdln dump rdump
29ee36043fScgdln restore rrestore
30ee36043fScgd
31ee36043fScgd# /usr/bin stuff
32ee36043fScgd
33ee36043fScgdprogs ftp rsh sed telnet rlogin vi
34ee36043fScgd
35ee36043fScgd# gnu stuff
36ee36043fScgd
37ee36043fScgdprogs cpio gzip
38ee36043fScgdln gzip gunzip
39ee36043fScgdln gzip gzcat
40ee36043fScgd
41ee36043fScgd# finally, we specify the libraries to link in with our binary
42ee36043fScgd
43ee36043fScgdlibs -ledit		# NetBSDism
44ee36043fScgdlibs -lcrypt		# but don't include this when exporting	:-(
45*258cf0abSroylibs -lcurses -lterminfo
46ee36043fScgdlibs -lkvm -ltelnet -lutil -ll
47