base-files: move db to etc

Due to read only rootfs the /lib/db will move into /etc.
This commit is contained in:
Ronny Nilsson 2020-09-07 12:21:13 +02:00
parent 90c5c5c52c
commit c3dd0a996b

View file

@ -37,4 +37,4 @@ populate_config(){
[ $DEBUG ] && cat /etc/config/ports
}
[ -f /sbin/db -a -f /lib/db/config/hw ] && populate_config
[ -f /sbin/db -a -f /etc/board-db/config/hw ] && populate_config