Versión 1.0.2: corregida errata en creación de enlaces simbólicos en instalador 1.0.2 (modifica #410)

git-svn-id: https://opengnsys.es/svn/branches/version1.0@2248 a21b9725-9963-47de-94b9-378ad31fedc9
remotes/github/debian-pkg
ramon 2011-08-02 11:12:35 +00:00
parent e9a1f41d0e
commit b3f53a9a52
1 changed files with 6 additions and 6 deletions

View File

@ -819,7 +819,7 @@ function dhcpConfigure()
errorAndLog "${FUNCNAME}(): error while configuring DHCP server"
return 1
fi
ln -fs $DHCPCFGDIR/dhcpd-$DEFAULTDEV.conf $DHCPCFGDIR/dhcpd.conf
ln -fs dhcpd-$DEFAULTDEV.conf $DHCPCFGDIR/dhcpd.conf
$DHCPINIT restart
echoAndLog "${FUNCNAME}(): Sample DHCP configured in \"$DHCPCFGDIR\"."
return 0
@ -1199,11 +1199,11 @@ function openGnsysConfigure()
fi
let i++
done
ln -fs $INSTALL_TARGET/etc/ogAdmServer-$DEFAULTDEV.cfg $INSTALL_TARGET/etc/ogAdmServer.cfg
ln -fs $INSTALL_TARGET/etc/ogAdmRepo-$DEFAULTDEV.cfg $INSTALL_TARGET/etc/ogAdmRepo.cfg
ln -fs $INSTALL_TARGET/etc/ogAdmAgent-$DEFAULTDEV.cfg $INSTALL_TARGET/etc/ogAdmAgent.cfg
ln -fs $INSTALL_TARGET/client/etc/ogAdmClient-$DEFAULTDEV.cfg $INSTALL_TARGET/client/etc/ogAdmClient.cfg
ln -fs $INSTALL_TARGET/www/controlacceso-$DEFAULTDEV.php $INSTALL_TARGET/www/controlacceso.php
ln -fs ogAdmServer-$DEFAULTDEV.cfg $INSTALL_TARGET/etc/ogAdmServer.cfg
ln -fs ogAdmRepo-$DEFAULTDEV.cfg $INSTALL_TARGET/etc/ogAdmRepo.cfg
ln -fs ogAdmAgent-$DEFAULTDEV.cfg $INSTALL_TARGET/etc/ogAdmAgent.cfg
ln -fs ogAdmClient-$DEFAULTDEV.cfg $INSTALL_TARGET/client/etc/ogAdmClient.cfg
ln -fs controlacceso-$DEFAULTDEV.php $INSTALL_TARGET/www/controlacceso.php
chown root:root $INSTALL_TARGET/etc/{ogAdmServer,ogAdmAgent}*.cfg
chmod 600 $INSTALL_TARGET/etc/{ogAdmServer,ogAdmAgent}*.cfg
chown $APACHE_RUN_USER:$APACHE_RUN_GROUP $INSTALL_TARGET/www/controlacceso*.php