Add hostapd.conf

This commit is contained in:
2017-04-10 16:12:45 +02:00
parent fc5c981825
commit fae70a0052
3 changed files with 17 additions and 1 deletions

View File

@ -269,6 +269,7 @@ fi
# - /etc/aiccu.conf
# - /etc/default/aiccu
# - /etc/radvd.conf
# - /etc/hostapd/hostapd.conf
# -
if [ -f "${filesystem_prefix}/etc/rc.local" ]; then
cp ${filesystem_prefix}/etc/rc.local ${homedir_user}/${_dir}/rc.local.${_network}
@ -288,6 +289,9 @@ fi
if [ -f "${filesystem_prefix}/etc/radvd.conf" ]; then
cp ${filesystem_prefix}/etc/radvd.conf ${homedir_user}/${_dir}/radvd.conf.${_network}
fi
if [ -f "${filesystem_prefix}/etc/hostapd/hostapd.conf" ]; then
cp ${filesystem_prefix}/etc/hostapd/hostapd.conf ${homedir_user}/${_dir}/hostapd.conf.${_network}
fi
chown ${user}:${user} ${homedir_user}/${_dir}
chown ${user}:${user} ${homedir_user}/${_dir}/*.${_network}