No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with
9 additions and
0 deletions
-
bibliotecha.sh
|
@ -243,6 +243,14 @@ function configure_hostapd { |
|
|
/etc/default/hostapd |
|
|
/etc/default/hostapd |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function configure_etc_hosts { |
|
|
|
|
|
echo "Configuring /etc/hosts entry ..." |
|
|
|
|
|
|
|
|
|
|
|
if ! grep -q "bibliotecha.library" /etc/hosts; then |
|
|
|
|
|
echo '10.0.0.1 bibliotecha.library' >> /etc/hosts |
|
|
|
|
|
fi |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
function enable_networking_services { |
|
|
function enable_networking_services { |
|
|
echo "Enabling network services ..." |
|
|
echo "Enabling network services ..." |
|
|
|
|
|
|
|
@ -403,6 +411,7 @@ function run_installation { |
|
|
configure_network_interfaces |
|
|
configure_network_interfaces |
|
|
configure_dnsmasq |
|
|
configure_dnsmasq |
|
|
configure_hostapd |
|
|
configure_hostapd |
|
|
|
|
|
configure_etc_hosts |
|
|
enable_networking_services |
|
|
enable_networking_services |
|
|
|
|
|
|
|
|
install_webserver |
|
|
install_webserver |
|
|