cli: default to /etc/opkg.conf
authorJo-Philipp Wich <jo@mein.io>
Fri, 10 Feb 2017 08:58:20 +0000 (09:58 +0100)
committerJo-Philipp Wich <jo@mein.io>
Fri, 10 Feb 2017 08:58:27 +0000 (09:58 +0100)
commit9f844972a38896fc97db293c3305c11c4229e2de
tree9cfa7d44dc237d69ec3c6d7ade862a96c46eb5d0
parent673d7213175c2cf209b25c8eb2632941cdbb8519
cli: default to /etc/opkg.conf

If neither --conf-file nor --offline-root are specified, default to the
traditional /etc/opkg.conf location to retain compatibility with OpenWrt/LEDE.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
src/opkg-cl.c