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 |