Modified WLanAP CGI to handle WLan on green and use internal mac filter

This commit is contained in:
Maniacikarus
2008-11-02 19:51:35 +01:00
parent 3df6d96c8f
commit 92f2665dc5
3 changed files with 122 additions and 44 deletions

View File

@@ -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)