don't overwrite the wlan.conf if it already exists.

This commit is contained in:
solomon 2002-10-31 00:34:03 +00:00
parent 04df2e5867
commit e739afbd56

View file

@ -52,7 +52,10 @@ clean:
install:
mkdir -p $(TARGET_ROOT_ON_HOST)/etc/wlan
cp shared wlan.conf wlancfg-DEFAULT wlancfg-wlannoenable \
if [ ! -f $(TARGET_ROOT_ON_HOST)/etc/wlan/wlan.conf ] ; then \
cp wlan.conf $(TARGET_ROOT_ON_HOST)/etc/wlan/wlan.conf ; \
fi
cp shared wlancfg-DEFAULT wlancfg-wlannoenable \
$(TARGET_ROOT_ON_HOST)/etc/wlan