File: Autoinstall

package info (click to toggle)
gadmin-bind 0.2.5-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 4,028 kB
  • ctags: 450
  • sloc: ansic: 7,244; sh: 3,215; makefile: 140
file content (37 lines) | stat: -rwxr-xr-x 1,122 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37

### Default paths and other configure options ###
# SETTINGS_DIR="/etc/gadmin-bind"
# CHROOT_PATH="/var/named"
# SYSINIT_SCRIPTS_DIR="/etc/init.d"
# SYSINIT_SCRIPT_NAME="gadmin-bind"
# RNDC_CONF="/etc/rndc.conf"
# RESOLV_PATH="/etc/resolv.conf"
# SYSLOG_PATH="/var/log/messages"
# NAMED_BINARY="named"
# SED_BINARY="sed"
# DIG_BINARY="dig"
# RNDC_BINARY="rndc"
# RNDC_CONFGEN_BINARY="rndc-confgen"
# CMD_SLEEP_LOG_SECS="3"
# USERADD_BINARY="useradd"
# GROUPADD_BINARY="groupadd"
# NAMED_USER="nobody"

### "gadmin-bind" in the SYSINIT_START and STOP commands below   ###
### should be changed to whatever SYSINIT_SCRIPT_NAME is set to. ###

### Redhat/Fedora ###
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --sbindir=/usr/sbin \
SYSINIT_START_CMD="chkconfig gadmin-bind on" \
SYSINIT_STOP_CMD="chkconfig gadmin-bind off" &&
make &&
make install

### Debian/Ubuntu ###
#./configure --prefix=/usr --sysconfdir=/etc \
#--localstatedir=/var --sbindir=/usr/sbin \
#SYSINIT_START_CMD="update-rc.d -f gadmin-bind defaults" \
#SYSINIT_STOP_CMD="update-rc.d -f gadmin-bind remove" &&
#make &&
#make install