/scripts/alcasar-conf.sh |
---|
87,9 → 87,11 |
cp -rf $DIR_UPDATE/digest $DIR_WEB/ |
$DIR_DEST_SBIN/alcasar-profil.sh -list |
# Récupération des règles de filtrage réseau |
cp -f $DIR_UPDATE/etc/* $DIR_DEST_ETC/ |
cp -rf $DIR_UPDATE/etc/* $DIR_DEST_ETC/ |
chown root:apache $DIR_DEST_ETC/* |
chmod 660 $DIR_DEST_ETC/* |
chown havp:apache $DIR_DEST_ETC/havp |
chmod 770 $DIR_DEST_ETC/havp |
rm -rf $DIR_UPDATE |
;; |
*) |
/scripts/sbin/alcasar-uninstall.sh |
---|
105,7 → 105,7 |
chkconfig --del havp && echo -n "1, " |
umount /var/tmp/havp && echo -n "2, " |
sleep 1 |
rm -rf /var/tmp/havp /var/log/havp /var/run/havp && echo -n "3, " |
rm -rf /var/tmp/havp /var/log/havp /var/run/havp /usr/local/etc/havp && echo -n "3, " |
rm -f /tmp/havp-disk && echo -n "4, " |
$SED "/^# Entry for havp/d" /etc/fstab |
$SED "/^\/tmp\/havp-disk/d" /etc/fstab && echo -n "5, " |