mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 11:13:24 +02:00
Move initscript to src/initscripts/packages and use new macro
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
This commit is contained in:
@@ -84,7 +84,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
|||||||
cd $(DIR_APP)/hostapd && make install
|
cd $(DIR_APP)/hostapd && make install
|
||||||
install -v -m 644 $(DIR_SRC)/config/backup/includes/hostapd /var/ipfire/backup/addons/includes/hostapd
|
install -v -m 644 $(DIR_SRC)/config/backup/includes/hostapd /var/ipfire/backup/addons/includes/hostapd
|
||||||
# install initscript
|
# install initscript
|
||||||
install -v -m 754 $(DIR_SRC)/src/initscripts/init.d/packages/hostapd /etc/rc.d/init.d/hostapd
|
$(call INSTALL_INITSCRIPT,hostapd)
|
||||||
mkdir -p /var/ipfire/wlanap
|
mkdir -p /var/ipfire/wlanap
|
||||||
touch /var/ipfire/wlanap/settings
|
touch /var/ipfire/wlanap/settings
|
||||||
cp -vrf $(DIR_SRC)/config/hostapd/hostapd.conf /var/ipfire/wlanap/hostapd.conf
|
cp -vrf $(DIR_SRC)/config/hostapd/hostapd.conf /var/ipfire/wlanap/hostapd.conf
|
||||||
|
|||||||
Reference in New Issue
Block a user