mirror of
https://github.com/openNDS/openNDS.git
synced 2026-01-09 20:07:56 -05:00
Fix - Generic linux - keep old config
Signed-off-by: Rob White <rob@blue-wave.net>
This commit is contained in:
6
Makefile
6
Makefile
@@ -39,7 +39,11 @@ install:
|
|||||||
cp opennds $(DESTDIR)/usr/bin/
|
cp opennds $(DESTDIR)/usr/bin/
|
||||||
mkdir -p $(DESTDIR)/etc/opennds/htdocs/images
|
mkdir -p $(DESTDIR)/etc/opennds/htdocs/images
|
||||||
mkdir -p $(DESTDIR)/etc/config
|
mkdir -p $(DESTDIR)/etc/config
|
||||||
cp linux_openwrt/opennds/files/etc/config/opennds $(DESTDIR)/etc/config/
|
if [ -e $(DESTDIR)/etc/config/opennds ]; then \
|
||||||
|
cp linux_openwrt/opennds/files/etc/config/opennds $(DESTDIR)/etc/config/opennds.default; \
|
||||||
|
else\
|
||||||
|
cp linux_openwrt/opennds/files/etc/config/opennds $(DESTDIR)/etc/config/; \
|
||||||
|
fi
|
||||||
cp resources/splash.css $(DESTDIR)/etc/opennds/htdocs/
|
cp resources/splash.css $(DESTDIR)/etc/opennds/htdocs/
|
||||||
cp resources/splash.jpg $(DESTDIR)/etc/opennds/htdocs/images/
|
cp resources/splash.jpg $(DESTDIR)/etc/opennds/htdocs/images/
|
||||||
mkdir -p $(DESTDIR)/etc/systemd/system
|
mkdir -p $(DESTDIR)/etc/systemd/system
|
||||||
|
|||||||
Reference in New Issue
Block a user