| 1 | # Command names for DragonFly installer backend. |
| 2 | # $Id: cmdnames.conf,v 1.15 2005/04/08 02:29:17 cpressey Exp $ |
| 3 | # $DragonFly: src/share/installer/cmdnames.conf,v 1.1 2008/03/25 22:55:38 dave Exp $ |
| 4 | |
| 5 | # This is in Bourne shell syntax so that it is easily editable; |
| 6 | # it is also sourced by the installer, a C program. |
| 7 | |
| 8 | # Note that file names here should all be relative to the |
| 9 | # installation media. They should NOT include leading slashes. |
| 10 | # They may contain extra command-line options. |
| 11 | |
| 12 | SH=bin/sh |
| 13 | MKDIR=bin/mkdir |
| 14 | CHMOD=bin/chmod |
| 15 | LN=bin/ln |
| 16 | RM=bin/rm |
| 17 | CP=bin/cp |
| 18 | DATE=bin/date |
| 19 | ECHO=bin/echo |
| 20 | DD=bin/dd |
| 21 | MV=bin/mv |
| 22 | CAT=bin/cat |
| 23 | TEST=bin/test |
| 24 | |
| 25 | # XXX 'sysctl' and '[' in the following tests should ideally include |
| 26 | # the full path to the executable. |
| 27 | |
| 28 | # Some operating systems (OpenBSD) have block devices for disks, slices, etc. |
| 29 | # Others don't. |
| 30 | |
| 31 | if [ X`sysctl -n kern.ostype` = "XOpenBSD" ]; then |
| 32 | TEST_DEV="$TEST -b" |
| 33 | else |
| 34 | TEST_DEV="$TEST -c" |
| 35 | fi |
| 36 | |
| 37 | # Some operating systems (DragonFly) have a version of cpdup that supports -u. |
| 38 | # Others don't, and we assume it is installed as a 'port' on those systems. |
| 39 | |
| 40 | if [ X`sysctl -n kern.ostype` = "XDragonFly" ]; then |
| 41 | CPDUP="bin/cpdup -o -vvv -u" |
| 42 | DHCPD=usr/sbin/dhcpd |
| 43 | RPCBIND=usr/sbin/portmap |
| 44 | MOUNTD=sbin/mountd |
| 45 | NFSD=sbin/nfsd |
| 46 | else |
| 47 | CPDUP="usr/local/bin/cpdup -o -vvv" |
| 48 | DHCPD=usr/local/sbin/dhcpd |
| 49 | RPCBIND=usr/sbin/rpcbind |
| 50 | MOUNTD=usr/sbin/mountd |
| 51 | NFSD=usr/sbin/nfsd |
| 52 | fi |
| 53 | |
| 54 | MOUNT=sbin/mount |
| 55 | MOUNT_MFS=sbin/mount_mfs |
| 56 | UMOUNT=sbin/umount |
| 57 | SWAPON=sbin/swapon |
| 58 | DISKLABEL=sbin/disklabel |
| 59 | NEWFS=sbin/newfs |
| 60 | NEWFS_MSDOS=sbin/newfs_msdos |
| 61 | FDISK=sbin/fdisk |
| 62 | DUMPON=sbin/dumpon |
| 63 | IFCONFIG=sbin/ifconfig |
| 64 | ROUTE=sbin/route |
| 65 | DHCLIENT=sbin/dhclient |
| 66 | SYSCTL=sbin/sysctl |
| 67 | |
| 68 | TOUCH=usr/bin/touch |
| 69 | YES=usr/bin/yes |
| 70 | BUNZIP2=usr/bin/bunzip2 |
| 71 | GREP=usr/bin/grep |
| 72 | KILLALL=usr/bin/killall |
| 73 | BASENAME=usr/bin/basename |
| 74 | SORT=usr/bin/sort |
| 75 | COMM=usr/bin/comm |
| 76 | AWK=usr/bin/awk |
| 77 | SED=usr/bin/sed |
| 78 | BC=usr/bin/bc |
| 79 | TR=usr/bin/tr |
| 80 | |
| 81 | PWD_MKDB=usr/sbin/pwd_mkdb |
| 82 | CHROOT=usr/sbin/chroot |
| 83 | VIDCONTROL=usr/sbin/vidcontrol |
| 84 | KBDCONTROL=usr/sbin/kbdcontrol |
| 85 | PW=usr/sbin/pw |
| 86 | SWAPINFO=usr/sbin/swapinfo |
| 87 | BOOT0CFG=usr/sbin/boot0cfg |
| 88 | FDFORMAT=usr/sbin/fdformat |
| 89 | PKG_ADD=usr/pkg/bin/pkg_add |
| 90 | PKG_DELETE=usr/pkg/bin/pkg_delete |
| 91 | PKG_CREATE=usr/pkg/bin/pkg_create |
| 92 | PKG_INFO=usr/pkg/bin/pkg_info |
| 93 | INETD=usr/sbin/inetd |
| 94 | |
| 95 | TFTPD=usr/libexec/tftpd |
| 96 | |
| 97 | CVSUP=usr/local/bin/cvsup |
| 98 | MEMTEST=usr/local/bin/memtest |
| 99 | |
| 100 | # These aren't commands, but they're configurable here nonetheless. |
| 101 | |
| 102 | DMESG_BOOT=var/run/dmesg.boot |
| 103 | INSTALLER_TEMP="/tmp/" |