Subversion Repositories ALCASAR

Rev

Rev 1518 | Rev 1521 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 1518 Rev 1520
Line 1... Line 1...
1
#/bin/bash
1
#/bin/bash
2
# $Id: alcasar-conf.sh 1518 2014-12-16 23:06:52Z richard $
2
# $Id: alcasar-conf.sh 1520 2014-12-17 18:10:26Z richard $
3
 
3
 
4
# alcasar-conf.sh
4
# alcasar-conf.sh
5
# by REXY
5
# by REXY
6
# This script is distributed under the Gnu General Public License (GPL)
6
# This script is distributed under the Gnu General Public License (GPL)
7
 
7
 
Line 329... Line 329...
329
		if [ "$PARENT_SCRIPT" != "alcasar.sh" ] # don't launch on install stage
329
		if [ "$PARENT_SCRIPT" != "alcasar.sh" ] # don't launch on install stage
330
		then
330
		then
331
# Services start
331
# Services start
332
		systemctl start network
332
		systemctl start network
333
		$DIR_SBIN/alcasar-dhcp.sh -$DHCP_mode # apply DHCP mode and start coova
333
		$DIR_SBIN/alcasar-dhcp.sh -$DHCP_mode # apply DHCP mode and start coova
334
		for i in ntpd httpd tinyproxy dnsmasq
334
		for i in dnsmasq httpd tinyproxy ntpd 
335
			do
335
			do
336
				systemctl start $i && echo "$i started"
336
				systemctl start $i && echo "$i started"
337
			done
337
			done
338
			$DIR_SBIN/alcasar-bl.sh -reload  # restart DG, dnsmasq-blacklist dnsmasq-whitelist & iptables
338
			$DIR_SBIN/alcasar-bl.sh -reload  # restart DG, dnsmasq-blacklist dnsmasq-whitelist & iptables
339
		fi
339
		fi