Install the F8/F9 keys.
[util-vserver.git] / scripts / X
1 ## $Id$ --*- sh -*--
2
3 case "$(hostname -s)" in
4         ensc-pc)        BASE=/mnt/nfs/src/util-vserver.devel;;
5         delenn)         BASE=/mnt/home/ensc/src/util-vserver.devel;;
6         *)              BASE=/home/ensc/src/util-vserver.devel;;
7 esac
8
9 PACKAGE='util-vserver'
10 PACKAGE_BUGREPORT='enrico.scholz@informatik.tu-chemnitz.de'
11 PACKAGE_NAME='util-vserver'
12 PACKAGE_STRING='util-vserver 0.23.89.1'
13 PACKAGE_TARNAME='util-vserver'
14 PACKAGE_VERSION='0.23.89.1'
15
16 __CONFDIR='/etc/vservers'
17 __INCLUDEDIR='/usr/include'
18 __INITRDDIR='/etc/init.d'
19 __LEGACYDIR=$BASE/scripts/legacy
20 __LIBDIR=/usr/lib
21 __LOCKDIR=/var/lock
22 __PKGLIBDEFAULTDIR=$BASE/distrib/misc
23 __PKGSTATEDIR='/var/run/vservers'
24 __PKGSTATEREVDIR='/var/run/vservers.rev'
25 __SBINDIR=$BASE/src
26 __SYSCONFDIR='/usr/local/etc'
27 __VSHELPERSTATEDIR='/var/run/vshelper'
28
29 __DISTRIBDIR=$BASE/distrib
30 __PKGLIBDIR=$BASE/scripts
31 __RUNDIR=$__PKGSTATEDIR
32
33 __DEFAULT_VSERVERDIR='/vservers'
34 __DEFAULT_VSERVERPKGDIR='/vservers/.pkg'
35
36 _CAPCHROOT="$BASE/src/capchroot"
37 _CHAINECHO="$BASE/src/chain-echo"
38 _CHBIND="$BASE/src/chbind"
39 _CHCONTEXT="$BASE/scripts/chcontext"
40 _CHCONTEXT_COMPAT="$BASE/src/chcontext-compat"
41 _CHROOT_SH="$BASE/src/chroot-sh"
42 _EXEC_CD="$BASE/src/exec-cd"
43 _EXEC_ULIMIT="$BASE/src/exec-ulimit"
44 _FAKE_RUNLEVEL="$BASE/src/fakerunlevel"
45 _FILETIME="$BASE/src/filetime"
46 _INITSYNC_MINIT_START=:
47 _LIB_FUNCTIONS="$BASE/scripts/functions"
48 _LIB_VSERVER_SETUP_FUNCTIONS="$BASE/scripts/vserver-setup.functions"
49 _LIB_VSERVER_BUILD_FUNCTIONS="$BASE/scripts/vserver-build.functions"
50 _LIB_VSERVER_BUILD_FUNCTIONS_APT="$BASE/scripts/vserver-build.functions.apt"
51 _LIB_VSERVER_BUILD_FUNCTIONS_RPM="$BASE/scripts/vserver-build.functions.rpm"
52 _LIB_VSERVER_BUILD_FUNCTIONS_PKGMGMT="$BASE/scripts/vserver-build.functions.pkgmgmt"
53 _LOCKFILE="$BASE/src/lockfile"
54 _MASK2PREFIX="$BASE/src/mask2prefix"
55 _PKGMGMT="$BASE/scripts/pkgmgmt"
56 _READLINK="$BASE/src/readlink"
57 _REBOOTMGR="$BASE/src/rebootmgr"
58 _RPM_FAKE_SO="$BASE/src/.libs/rpm-fake.so"
59 _SAVE_CTXINFO="$BASE/src/save_ctxinfo"
60 _SAVE_S_CONTEXT="$BASE/scripts/legacy/save_s_context"
61 _SECURE_MOUNT="$BASE/src/secure-mount"
62 _SETATTR="$BASE/src/setattr"
63 _VAPT_GET="$BASE/scripts/vapt-get"
64 _VAPT_GET_WORKER="$BASE/scripts/vapt-get-worker"
65 _VATTRIBUTE="$BASE/src/vattribute"
66 _VCONTEXT="$BASE/src/vcontext"
67 _VKILL="$BASE/src/vkill"
68 _VLIMIT="$BASE/src/vlimit"
69 _VNAMESPACE="$BASE/src/vnamespace"
70 _VPKG="$BASE/scripts/vpkg"
71 _VPROCUNHIDE="$BASE/scripts/vprocunhide"
72 _VPS="$BASE/src/vps"
73 _VRPM="$BASE/scripts/vrpm"
74 _VRPM_PRELOAD="$BASE/scripts/vrpm-preload"
75 _VRPM_WORKER="$BASE/scripts/vrpm-worker"
76 _VSCHED="$BASE/src/vsched"
77 _VSERVER="$BASE/scripts/vserver"
78 _VSERVER_LEGACY="$BASE/scripts/legacy/vserver"
79 _VSERVER_BUILD="$BASE/scripts/vserver-build"
80 _VSERVER_INFO="$BASE/src/vserver-info"
81 _VSHELPER="$BASE/scripts/vshelper"
82 _VSHELPER_SYNC="$BASE/src/vshelper-sync"
83 _VSOMETHING="$BASE/scripts/vsomething"
84 _VUNAME="$BASE/src/vuname"
85 _VUNIFY="$BASE/src/vunify"
86 _VYUM="$BASE/scripts/vyum"
87 _VYUM_WORKER="$BASE/scripts/vyum-worker"
88
89 _AWK="/bin/awk"
90 _CAT="/bin/cat"
91 _CHOWN="/bin/chown"
92 _CMP="/usr/bin/cmp"
93 _CP="/bin/cp"
94 _DIRNAME="/usr/bin/dirname"
95 _EGREP="/bin/egrep"
96 _ENV="/bin/env"
97 _GREP="/bin/grep"
98 _IP="/sbin/ip"
99 _IPTABLES="/sbin/iptables"
100 _LN="/bin/ln"
101 _LN_S="$_LN -s"
102 _MKDIR="/bin/mkdir"
103 _MKFIFO="/usr/bin/mkfifo"
104 _MKTEMP="/bin/mktemp"
105 _MKTEMPDIR="$_MKTEMP -d"
106 _MODPROBE="/sbin/modprobe"
107 _MOUNT="/bin/mount"
108 _MV="/bin/mv"
109 _NAMEIF="/sbin/nameif"
110 _NICE="/bin/nice"
111 _RM="/bin/rm"
112 _RMDIR="/bin/rmdir"
113 _RMMOD="/sbin/rmmod"
114 _SED="/bin/sed"
115 _SH="/bin/sh"
116 _TAC="/usr/bin/tac"
117 _TAR="/bin/tar"
118 _TOUCH="/bin/touch"
119 _TTY="/usr/bin/tty"
120 _UMOUNT="/bin/umount"
121 _VCONFIG="/sbin/vconfig"
122 _WC="/usr/bin/wc"
123 _WGET="/usr/bin/wget"
124
125 # https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=106057
126 WORKAROUND_106057=1
127 # /var/lib/rpm is hardcoded into apt-get which does not honor the
128 # %_dbpath variable therefore
129 # http://distro2.conectiva.com.br/pipermail/apt-rpm/2003-October/001985.html
130 WORKAROUND_APT_DBPATH=1