case "$1" in
configure-files)
cp -a /etc/bind/named.conf /etc/bind/named.conf.gforge-new
- domain_name=`/usr/share/gforge/bin/forge_get_config web_host`
- ip_address=`/usr/share/gforge/bin/forge_get_config ip_address`
+ domain_name=`forge_get_config web_host`
+ ip_address=`forge_get_config ip_address`
# export domain_name=$1
# export ip_address=$2
if ! grep -q "// Next line inserted by GForge install" /etc/bind/named.conf.gforge-new ; then
fi
;;
configure)
- domain_name=`/usr/share/gforge/bin/forge_get_config web_host`
- ip_address=`/usr/share/gforge/bin/forge_get_config ip_address`
- sys_simple_dns=`/usr/share/gforge/bin/forge_get_config simple_dns`
+ domain_name=`forge_get_config web_host`
+ ip_address=`forge_get_config ip_address`
+ sys_simple_dns=`forge_get_config simple_dns`
serial=`date '+%Y%m%d'`01
# scm_host lists_host are useless for now
for i in domain_name ip_address serial ; do