mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-12 12:15:52 +02:00
Fix updater (now real core18)
fix missing newline at core17 filelist hostapd initscript now works also with eg. blue2
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
etc/squid
|
||||
usr/lib/squid
|
||||
usr/sbin/squid
|
||||
usr/sbin/squid
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
etc/squid
|
||||
usr/lib/squid
|
||||
usr/sbin/squid
|
||||
usr/sbin/squid
|
||||
|
||||
@@ -263,7 +263,7 @@
|
||||
* sox-12.18.1
|
||||
* spandsp-0.0.4pre15
|
||||
* squashfs3.2-r2
|
||||
* squid-2.7.STABLE3
|
||||
* squid-2.7.STABLE4
|
||||
* squidGuard-1.3
|
||||
* squidclamav-3.5
|
||||
* sudo-1.6.8p12
|
||||
|
||||
@@ -84,7 +84,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
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/etc/hostapd.conf
|
||||
cp -vrf $(DIR_SRC)/config/hostapd/hostapd.conf /var/ipfire/wlanap/hostapd.conf
|
||||
chown nobody:nobody /var/ipfire/wlanap/*
|
||||
chmod 644 /var/ipfire/wlanap/*
|
||||
@rm -rf $(DIR_APP)
|
||||
|
||||
@@ -76,7 +76,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
|
||||
sed -e "s/NAME/core-upgrade/g" \
|
||||
-e "s/VER/2.1/g" \
|
||||
-e "s/RELEASE/16/g" \
|
||||
-e "s/RELEASE/18/g" \
|
||||
-e "s/DEPS/$(DEPS)/g" \
|
||||
-e "s/SIZE/`ls -l \/install\/packages\/core-upgrade-2.1-17.ipfire | awk '{ print $$5 }'`/g" \
|
||||
< /usr/src/src/pakfire/meta > /install/packages/meta-core-upgrade-17
|
||||
-e "s/SIZE/`ls -l \/install\/packages\/core-upgrade-2.1-18.ipfire | awk '{ print $$5 }'`/g" \
|
||||
< /usr/src/src/pakfire/meta > /install/packages/meta-core-upgrade-18
|
||||
|
||||
@@ -35,11 +35,7 @@ case "${1}" in
|
||||
# Bring blue up (but not at boot)
|
||||
if [ "$(basename $0)" == "hostapd" ]; then
|
||||
|
||||
if [ "$(INTERFACE)" == "blue0" ]; then
|
||||
/etc/rc.d/init.d/networking/blue start
|
||||
elif [ "$(INTERFACE)" == "green0" ]; then
|
||||
/etc/rc.d/init.d/networking/green start
|
||||
fi
|
||||
/etc/rc.d/init.d/networking/${INTERFACE//[0-9]/} start
|
||||
|
||||
if [ -f /var/ipfire/dhcp/enable_blue || -f /var/ipfire/dhcp/enable_green ]; then
|
||||
/etc/rc.d/init.d/dhcp restart
|
||||
|
||||
Reference in New Issue
Block a user