diff --git a/etc/wlan/Makefile b/etc/wlan/Makefile index de9b70c..253d9e8 100644 --- a/etc/wlan/Makefile +++ b/etc/wlan/Makefile @@ -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