Add hostapd.conf
This commit is contained in:
@ -762,6 +762,17 @@ if [ -f ${base_dir}/${network}/radvd.conf.${network} ]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -f ${base_dir}/${network}/hostapd.conf.${network} ]; then
|
||||
echo -en "\tConfigure hostapd (integrated Accesspoint).."
|
||||
cp -a ${base_dir}/${network}/hostapd.conf.${network} /etc/hostapd/hostapd.conf > $logfile 2>&1
|
||||
if [ "$?" != "0" ]; then
|
||||
echo_FAILED
|
||||
error $(cat $logfile)
|
||||
else
|
||||
echo_OK
|
||||
fi
|
||||
fi
|
||||
|
||||
if $_add_support_if ; then
|
||||
|
||||
if ! grep -e "eth1:rescue " /etc/network/interfaces > /dev/null ; then
|
||||
|
Reference in New Issue
Block a user