mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 03:33:25 +02:00
Modified WLanAP CGI to handle WLan on green and use internal mac filter
This commit is contained in:
@@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE)
|
||||
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
PROG = hostapd
|
||||
PAK_VER = 5
|
||||
PAK_VER = 6
|
||||
|
||||
DEPS = ""
|
||||
|
||||
@@ -80,11 +80,13 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
cd $(DIR_APP) && cp $(DIR_SRC)/config/hostapd/config ./.config
|
||||
cd $(DIR_APP) && sed -e "s@/usr/local@/usr@g" -i Makefile
|
||||
cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE) && make install
|
||||
cp -vrf $(DIR_SRC)/config/hostapd/hostapd.conf /etc/hostapd.conf
|
||||
install -v -m 644 $(DIR_SRC)/config/backup/includes/hostapd /var/ipfire/backup/addons/includes/hostapd
|
||||
mkdir -p /var/ipfire/wlanap
|
||||
touch /var/ipfire/wlanap/settings
|
||||
cp -vrf $(DIR_SRC)/config/hostapd/hostapd.conf /var/ipfire/wlanap/hostapd.conf
|
||||
touch /var/ipfire/wlanap/hostapd.accept
|
||||
touch /var/ipfire/wlanap/hostapd.deny
|
||||
cp -vrf /var/ipfire/wlanap/hostapd.* /etc/
|
||||
chown nobody:nobody /var/ipfire/wlanap/*
|
||||
chmod 644 /var/ipfire/wlanap/*
|
||||
@rm -rf $(DIR_APP)
|
||||
|
||||
Reference in New Issue
Block a user