don't overwrite the wlan.conf if it already exists.
This commit is contained in:
parent
04df2e5867
commit
e739afbd56
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue