1451,17 → 1451,18 |
# expire delay for the profile "live" |
/usr/bin/systemctl start nfsen |
/bin/nfsen -m live -e 62d 2>/dev/null |
# add SURFmap plugin |
cp $DIR_CONF/nfsen/SURFmap_*.tar.gz /tmp/ |
cp $DIR_CONF/nfsen/GeoLiteCity* /tmp/ |
tar xzf /tmp/SURFmap_*.tar.gz -C /tmp/ |
cd /tmp/ |
/usr/bin/sh SURFmap/install.sh |
# add SURFmap plugin (waiting for new technical solution) |
# see https://adullact.net/forum/forum.php?thread_id=319545&forum_id=1601&group_id=450 |
# cp $DIR_CONF/nfsen/SURFmap_*.tar.gz /tmp/ |
# cp $DIR_CONF/nfsen/GeoLiteCity* /tmp/ |
# tar xzf /tmp/SURFmap_*.tar.gz -C /tmp/ |
# cd /tmp/ |
# /usr/bin/sh SURFmap/install.sh |
# clear the installation |
# cd $DirTmp |
# rm -rf /tmp/nfsen-* |
# rm -rf /tmp/SURFmap* |
chown -R apache:apache /var/www/html/acc/manager/nfsen /usr/share/nfsen /var/log/nfsen |
# clear the installation |
cd $DirTmp |
rm -rf /tmp/nfsen-* |
rm -rf /tmp/SURFmap* |
} # End of nfsen () |
|
########################################################### |