/scripts/alcasar-conf.sh |
---|
233,7 → 233,7 |
$DIR_SBIN/alcasar-logout.sh all |
# Services stop |
echo -n "Stop services : " |
for i in ntpd httpd tinyproxy dnsmasq dnsmasq-whitelist dnsmasq-blacklist chilli network |
for i in ntpd tinyproxy dnsmasq dnsmasq-whitelist dnsmasq-blacklist chilli network httpd |
do |
/usr/bin/systemctl stop $i && echo -n "$i, " |
done |
330,7 → 330,7 |
# Services start |
/usr/bin/systemctl start network && echo -n "Start service : network" && sleep 1 |
$DIR_SBIN/alcasar-dhcp.sh -$DHCP_mode && echo -n ", coova" # apply DHCP mode and start coova |
for i in dnsmasq httpd tinyproxy ntpd |
for i in dnsmasq tinyproxy ntpd httpd |
do |
sleep 1 |
/usr/bin/systemctl start $i && echo -n ", $i" |
/scripts/alcasar-importcert.sh |
---|
171,7 → 171,7 |
fi |
domainName $cert |
certImport $cert $key $sc |
for services in chilli httpd dnsmasq dnsmasq-blackhole dnsmasq-blacklist dnsmasq-whitelist |
for services in chilli dnsmasq dnsmasq-blackhole dnsmasq-blacklist dnsmasq-whitelist httpd |
do |
echo "restarting $services"; systemctl restart $services; sleep 1 |
done |
182,7 → 182,7 |
echo "Restoring default certificate" |
defaultCert |
defaultNdd |
for services in chilli httpd dnsmasq dnsmasq-blackhole dnsmasq-blacklist dnsmasq-whitelist |
for services in chilli dnsmasq dnsmasq-blackhole dnsmasq-blacklist dnsmasq-whitelist httpd |
do |
echo "restarting $services"; systemctl restart $services; sleep 1 |
done |