Subversion Repositories ALCASAR

Rev

Rev 2561 | Rev 2586 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 2561 Rev 2581
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
#  $Id: alcasar.sh 2561 2018-06-20 22:03:06Z rexy $
2
#  $Id: alcasar.sh 2581 2018-07-26 10:23:24Z rexy $
3
 
3
 
4
# alcasar.sh
4
# alcasar.sh
5
# ALCASAR is a Free and open source NAC created by Franck BOUIJOUX (3abtux), Pascal LEVANT and Richard REY (Rexy)
5
# ALCASAR is a Free and open source NAC created by Franck BOUIJOUX (3abtux), Pascal LEVANT and Richard REY (Rexy)
6
# This script is distributed under the Gnu General Public License (GPL)
6
# This script is distributed under the Gnu General Public License (GPL)
7
#  team@alcasar.net
7
#  team@alcasar.net
Line 1479... Line 1479...
1479
	cp $DIR_CONF/nfsen/SURFmap_*.tar.gz /tmp/
1479
	cp $DIR_CONF/nfsen/SURFmap_*.tar.gz /tmp/
1480
	cp $DIR_CONF/nfsen/GeoLiteCity* /tmp/
1480
	cp $DIR_CONF/nfsen/GeoLiteCity* /tmp/
1481
	tar xzf /tmp/SURFmap_*.tar.gz -C /tmp/
1481
	tar xzf /tmp/SURFmap_*.tar.gz -C /tmp/
1482
	cd /tmp/
1482
	cd /tmp/
1483
	/usr/bin/sh SURFmap/install.sh
1483
	/usr/bin/sh SURFmap/install.sh
1484
	chown -R apache:apache /var/www/html/acc/manager/nfsen /usr/share/nfsen
1484
	chown -R apache:apache /var/www/html/acc/manager/nfsen /usr/share/nfsen /var/log/nfsen
1485
# clear the installation
1485
# clear the installation
1486
	cd $DirTmp
1486
	cd $DirTmp
1487
	rm -rf /tmp/nfsen-*
1487
	rm -rf /tmp/nfsen-*
1488
	rm -rf /tmp/SURFmap*
1488
	rm -rf /tmp/SURFmap*
1489
} # End of nfsen ()
1489
} # End of nfsen ()