mirror of
				https://github.com/billz/raspap-webgui.git
				synced 2025-03-01 10:31:47 +00:00 
			
		
		
		
	Add create_dnsmasq_log
This commit is contained in:
		| @@ -108,6 +108,13 @@ function create_hostapd_scripts() { | ||||
|     sudo chmod 750 "$raspap_dir/hostapd/"*.sh || install_error "Unable to change file permissions" | ||||
| } | ||||
|  | ||||
| # Generate dnsmasq logfile | ||||
| function create_dnsmasq_log() { | ||||
|     install_log "Creating dnsmasq logfile" | ||||
|     sudo touch /tmp/dnsmasq.log || install_error "Unable to create logfile /tmp/dnsmasq.log" | ||||
|     sudo chown dnsmasq:"$raspap_user" /tmp/dnsmasq.log || install_error "Unable to change file ownership" | ||||
| } | ||||
|  | ||||
| # Generate lighttpd service control scripts | ||||
| function create_lighttpd_scripts() { | ||||
|     install_log "Creating lighttpd control scripts" | ||||
| @@ -440,6 +447,7 @@ function install_raspap() { | ||||
|     download_latest_files | ||||
|     change_file_ownership | ||||
|     create_hostapd_scripts | ||||
|     create_dnsmasq_log | ||||
|     create_lighttpd_scripts | ||||
|     move_config_file | ||||
|     default_configuration | ||||
|   | ||||
		Reference in New Issue
	
	Block a user