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