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
d949abf0dc
commit
79b2e1c88b
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ boot() {
|
||||||
cd /etc/uci-defaults || return 0
|
cd /etc/uci-defaults || return 0
|
||||||
files="$(ls)"
|
files="$(ls)"
|
||||||
[ -n "$files" ] && {
|
[ -n "$files" ] && {
|
||||||
mkdir /usr/share/omr-update
|
mkdir -p /usr/share/omr-update
|
||||||
if [ "$(grep rom /etc/mtab)" = "" ]; then
|
if [ "$(grep rom /etc/mtab)" = "" ]; then
|
||||||
cp /etc/uci-defaults/* /usr/share/omr-update
|
cp /etc/uci-defaults/* /usr/share/omr-update
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue