mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix omr-update
This commit is contained in:
parent
2960b6b5d7
commit
517b93f436
2 changed files with 19 additions and 0 deletions
|
@ -16,6 +16,7 @@ boot() {
|
|||
[ -n "$files" ] && {
|
||||
mkdir -p /usr/share/omr-update
|
||||
if [ "$(grep rom /etc/mtab)" = "" ]; then
|
||||
rm /usr/share/omr-update/*
|
||||
cp /etc/uci-defaults/* /usr/share/omr-update
|
||||
fi
|
||||
uci -q set openmptcprouter.settings=settings
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue