Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 1064 → Rev 1065

/scripts/alcasar-conf.sh
279,7 → 279,7
# admin profile update (admin + manager + backup)
$DIR_SBIN/alcasar-profil.sh --list
# Start / Stop SSH Daemon
ssh_active=`grep SSH $CONF_FILE|cut -d"=" -f2`
ssh_active=`grep SSH= $CONF_FILE|cut -d"=" -f2`
if [ $ssh_active = "on" ]
then
/sbin/chkconfig --add sshd
422,7 → 422,7
$DIR_SBIN/alcasar-bl.sh -reload
fi
# Start / Stop SSH Daemon
ssh_active=`grep SSH $CONF_FILE|cut -d"=" -f2`
ssh_active=`grep SSH= $CONF_FILE|cut -d"=" -f2`
if [ $ssh_active = "on" ]
then
/bin/systemctl enable sshd.service
/scripts/sbin/alcasar-uninstall.sh
19,7 → 19,7
do
[ -e /etc/init.d/$i ] && /sbin/chkconfig --del $i && /etc/init.d/$i stop && killall $i 2>/dev/null
done
echo "Stop main functions : "
echo "Stop ALCASAR main functions : "
 
#init
echo -en "\n- init(1) : "