mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-26 09:30:26 +00:00
Update installer w/ 090_wlan0.conf
This commit is contained in:
parent
6044d3d6ae
commit
f32d7c8778
1 changed files with 3 additions and 3 deletions
|
@ -336,8 +336,8 @@ function _check_for_old_configs() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f $raspap_dnsmasq ]; then
|
if [ -f $raspap_dnsmasq ]; then
|
||||||
sudo cp $raspap_dnsmasq "$raspap_dir/backups/dnsmasq.conf.`date +%F-%R`"
|
sudo cp $raspap_dnsmasq "$raspap_dir/backups/090_wlan0.conf.`date +%F-%R`"
|
||||||
sudo ln -sf "$raspap_dir/backups/dnsmasq.conf.`date +%F-%R`" "$raspap_dir/backups/dnsmasq.conf"
|
sudo ln -sf "$raspap_dir/backups/090_wlan0.conf.`date +%F-%R`" "$raspap_dir/backups/090_wlan0.conf"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f /etc/dhcpcd.conf ]; then
|
if [ -f /etc/dhcpcd.conf ]; then
|
||||||
|
@ -376,7 +376,7 @@ function _default_configuration() {
|
||||||
fi
|
fi
|
||||||
sudo cp $webroot_dir/config/default_hostapd /etc/default/hostapd || _install_status 1 "Unable to move hostapd defaults file"
|
sudo cp $webroot_dir/config/default_hostapd /etc/default/hostapd || _install_status 1 "Unable to move hostapd defaults file"
|
||||||
sudo cp $webroot_dir/config/hostapd.conf /etc/hostapd/hostapd.conf || _install_status 1 "Unable to move hostapd configuration file"
|
sudo cp $webroot_dir/config/hostapd.conf /etc/hostapd/hostapd.conf || _install_status 1 "Unable to move hostapd configuration file"
|
||||||
sudo cp $webroot_dir/config/dnsmasq.conf $raspap_dnsmasq || _install_status 1 "Unable to move dnsmasq configuration file"
|
sudo cp $webroot_dir/config/090_wlan0.conf $raspap_dnsmasq || _install_status 1 "Unable to move dnsmasq configuration file"
|
||||||
sudo cp $webroot_dir/config/dhcpcd.conf /etc/dhcpcd.conf || _install_status 1 "Unable to move dhcpcd configuration file"
|
sudo cp $webroot_dir/config/dhcpcd.conf /etc/dhcpcd.conf || _install_status 1 "Unable to move dhcpcd configuration file"
|
||||||
|
|
||||||
echo "Checking for existence of /etc/dnsmasq.d"
|
echo "Checking for existence of /etc/dnsmasq.d"
|
||||||
|
|
Loading…
Reference in a new issue