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.3 2008/08/30 16:47:47 hasso 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 12SH=bin/sh 13MKDIR=bin/mkdir 14CHMOD=bin/chmod 15LN=bin/ln 16RM=bin/rm 17CP=bin/cp 18DATE=bin/date 19ECHO=bin/echo 20DD=bin/dd 21MV=bin/mv 22CAT=bin/cat 23TEST=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 31if [ X`sysctl -n kern.ostype` = "XOpenBSD" ]; then 32 TEST_DEV="$TEST -b" 33else 34 TEST_DEV="$TEST -c" 35fi 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 40if [ X`sysctl -n kern.ostype` = "XDragonFly" ]; then 41 CPDUP="bin/cpdup -o -vvv -u" 42 DHCPD=usr/pkg/sbin/dhcpd 43 RPCBIND=usr/sbin/portmap 44 MOUNTD=sbin/mountd 45 NFSD=sbin/nfsd 46else 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 52fi 53 54MOUNT=sbin/mount 55MOUNT_HAMMER=sbin/mount_hammer 56MOUNT_MFS=sbin/mount_mfs 57MOUNT_NULL=sbin/mount_null 58UMOUNT=sbin/umount 59SWAPON=sbin/swapon 60DISKLABEL=sbin/disklabel 61DISKLABEL64=sbin/disklabel64 62HAMMER=sbin/hammer 63NEWFS=sbin/newfs 64NEWFS_HAMMER=sbin/newfs_hammer 65NEWFS_MSDOS=sbin/newfs_msdos 66FDISK=sbin/fdisk 67DUMPON=sbin/dumpon 68IFCONFIG=sbin/ifconfig 69ROUTE=sbin/route 70DHCLIENT=sbin/dhclient 71SYSCTL=sbin/sysctl 72 73TOUCH=usr/bin/touch 74YES=usr/bin/yes 75BUNZIP2=usr/bin/bunzip2 76GREP=usr/bin/grep 77KILLALL=usr/bin/killall 78BASENAME=usr/bin/basename 79SORT=usr/bin/sort 80COMM=usr/bin/comm 81AWK=usr/bin/awk 82SED=usr/bin/sed 83BC=usr/bin/bc 84TR=usr/bin/tr 85 86PWD_MKDB=usr/sbin/pwd_mkdb 87CHROOT=usr/sbin/chroot 88VIDCONTROL=usr/sbin/vidcontrol 89KBDCONTROL=usr/sbin/kbdcontrol 90PW=usr/sbin/pw 91SWAPINFO=usr/sbin/swapinfo 92BOOT0CFG=usr/sbin/boot0cfg 93FDFORMAT=usr/sbin/fdformat 94PKG_ADD=usr/pkg/sbin/pkg_add 95PKG_DELETE=usr/pkg/sbin/pkg_delete 96PKG_CREATE=usr/pkg/sbin/pkg_create 97PKG_INFO=usr/pkg/sbin/pkg_info 98INETD=usr/sbin/inetd 99 100TFTPD=usr/libexec/tftpd 101 102CVSUP=usr/local/bin/cvsup 103MEMTEST=usr/local/bin/memtest 104 105# These aren't commands, but they're configurable here nonetheless. 106 107DMESG_BOOT=var/run/dmesg.boot 108INSTALLER_TEMP="/tmp/" 109