/scripts/alcasar-conf.sh |
---|
148,9 → 148,9 |
ssh_active=`grep SSH= $CONF_FILE|cut -d"=" -f2` |
if [ $ssh_active = "on" ] |
then |
/sbin/chkconfig --add sshd |
systemctl -q enable sshd.service |
else |
/sbin/chkconfig --del sshd |
systemctl -q disable sshd.service |
fi |
# Remove the update folder |
rm -rf $DIR_UPDATE |