Path: blob/main/usr.sbin/crunch/examples/fixit.conf
103352 views
# fixit.conf - put in anything we think we might want on a fixit floppy12# first, we list the source dirs that our programs reside in. These are3# searched in order listed to find the dir containing each program.45srcdirs /usr/src/bin /usr/src/sbin /usr/src/usr.bin /usr/src/usr.sbin6srcdirs /usr/src/gnu/usr.bin /usr/src/usr.bin/vi7srcdirs /usr/src/sbin/i38689# second, we list all the programs we want to include in our crunched binary.10# The order doesn't matter. Any program that needs hard links to it gets an11# `ln' directive.1213# /bin stuff1415progs cat chmod cp date dd df echo ed expr hostname kill ln ls mkdir16progs mt mv pwd rcp rm rmdir sh sleep stty sync test1718ln test [19ln sh -sh # init invokes the shell this way2021# /sbin stuff2223progs chown clri disklabel dump dmesg fsck ifconfig init24progs mknod mount newfs ping reboot restore swapon umount25ln dump rdump26ln restore rrestore2728# /usr/bin stuff2930progs ftp sed telnet common find31ln common vi32ln common view33ln common ex3435# gnu stuff3637progs cpio gzip38ln gzip gunzip39ln gzip gzcat4041# finally, we specify the libraries to link in with our binary4243libs -lcrypt -ltelnet -lutil -ll44libs -lcurses -ltermcap -ledit -lkvm454647