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 $
5 # This is in Bourne shell syntax so that it is easily editable;
6 # it is also sourced by the installer, a C program.
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.
25 # XXX 'sysctl' and '[' in the following tests should ideally include
26 # the full path to the executable.
28 # Some operating systems (OpenBSD) have block devices for disks, slices, etc.
31 if [ X`sysctl -n kern.ostype` = "XOpenBSD" ]; then
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.
40 if [ X`sysctl -n kern.ostype` = "XDragonFly" ]; then
41 CPDUP="bin/cpdup -o -vvv -u"
43 RPCBIND=usr/sbin/portmap
47 CPDUP="usr/local/bin/cpdup -o -vvv"
48 DHCPD=usr/local/sbin/dhcpd
49 RPCBIND=usr/sbin/rpcbind
50 MOUNTD=usr/sbin/mountd
55 MOUNT_MFS=sbin/mount_mfs
58 DISKLABEL=sbin/disklabel
60 NEWFS_MSDOS=sbin/newfs_msdos
63 IFCONFIG=sbin/ifconfig
65 DHCLIENT=sbin/dhclient
70 BUNZIP2=usr/bin/bunzip2
72 KILLALL=usr/bin/killall
73 BASENAME=usr/bin/basename
81 PWD_MKDB=usr/sbin/pwd_mkdb
82 CHROOT=usr/sbin/chroot
83 VIDCONTROL=usr/sbin/vidcontrol
84 KBDCONTROL=usr/sbin/kbdcontrol
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
95 TFTPD=usr/libexec/tftpd
97 CVSUP=usr/local/bin/cvsup
98 MEMTEST=usr/local/bin/memtest
100 # These aren't commands, but they're configurable here nonetheless.
102 DMESG_BOOT=var/run/dmesg.boot
103 INSTALLER_TEMP="/tmp/"