
### Default paths and settings ###
# OPENVPN_SYSCONF_DIR="/etc/gadmin-openvpn"
# SYSINIT_SCRIPTS_DIR="/etc/rc.d/init.d"
# OPENVPN_BINARY="/usr/sbin/openvpn"
# CLIENT_USER="nobody"
# CLIENT_GROUP="nobody"
# FIRESTARTER_BINARY="/usr/sbin/firestarter"
# FIRESTARTER_USER_PRE="/etc/firestarter/user-pre"
# IP_FORWARD_CMD="echo '1' > /proc/sys/net/ipv4/ip_forward"
# PROC_PATH="/proc"


### Debian commands for starting the client at boot ###
# export SYSINIT_START_CMD="update-rc.d -f gadmin-openvpn-client defaults"
# export SYSINIT_STOP_CMD="update-rc.d -f gadmin-openvpn-client remove"

### RH/Fedora commands for starting the client at boot ###
### This is the defaults for the rpm specfile ###
# export SYSINIT_START_CMD="chkconfig gadmin-openvpn-client on"
# export SYSINIT_STOP_CMD="chkconfig gadmin-openvpn-client off"

### Configure, make, make install for Fedora ###
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --sbindir=/usr/sbin \
SYSINIT_START_CMD="chkconfig gadmin-openvpn-client on" \
SYSINIT_STOP_CMD="chkconfig gadmin-openvpn-client off" &&
make &&
make install
