Fixes for the new rc.wlan script and the install rule for etc/Makefile.
This commit is contained in:
parent
807206bea8
commit
f63dc41ae1
|
@ -0,0 +1,4 @@
|
|||
2001-08-28 gettextize <bug-gnu-utils@gnu.org>
|
||||
|
||||
* Makefile.in.in: Upgrade to gettext-0.10.39.
|
||||
|
21
etc/Makefile
21
etc/Makefile
|
@ -42,6 +42,18 @@
|
|||
#
|
||||
# --------------------------------------------------------------------
|
||||
|
||||
include ../config.mk
|
||||
|
||||
ifeq ($(PRISM2_PLX), y)
|
||||
INSTFIXED=y
|
||||
endif
|
||||
ifeq ($(PRISM2_PCI), y)
|
||||
INSTFIXED=y
|
||||
endif
|
||||
ifeq (,$(RC_DIR))
|
||||
INSTFIXED=n
|
||||
endif
|
||||
|
||||
DIRS= pcmcia wlan
|
||||
|
||||
all:
|
||||
|
@ -52,5 +64,10 @@ clean:
|
|||
|
||||
install:
|
||||
set -e; for d in $(DIRS); do $(MAKE) -C $$d install; done
|
||||
|
||||
|
||||
echo INSTFIXED: $(INSTFIXED)
|
||||
ifeq ($(INSTFIXED), y)
|
||||
cp rc.wlan $(RC_DIR)/init.d/wlan
|
||||
chmod 755 $(RC_DIR)/init.d/wlan
|
||||
cp wlan.conf /etc
|
||||
chmod 700 /etc/wlan.conf
|
||||
endif
|
||||
|
|
|
@ -45,7 +45,7 @@ start)
|
|||
|
||||
#=======ENABLE========================================
|
||||
# Do we want to init the card at all?
|
||||
if ! is_true $WLAN_ENABLE ; then
|
||||
if [ $WLAN_ENABLE != 'y' ] ; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
@ -157,5 +157,3 @@ restart|reload)
|
|||
|
||||
esac
|
||||
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in a new issue