mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-15 03:51:51 +00:00
Fix socket path
This commit is contained in:
parent
65447216f9
commit
b1afa2fcab
1 changed files with 7 additions and 0 deletions
|
@ -12,6 +12,13 @@ uci -q batch <<-EOF >/dev/null
|
|||
commit fstab
|
||||
EOF
|
||||
|
||||
if [ "$(uci -q get rpcd.@rpcd[0].socket)" != "/var/run/ubus/ubus.sock" ]; then
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
set rpcd.@rpcd[0].socket='/var/run/ubus/ubus.sock'
|
||||
commit rpcd
|
||||
EOF
|
||||
fi
|
||||
|
||||
/sbin/block detect > /etc/config/fstab
|
||||
|
||||
[ -n "$(ubus call system board | jsonfilter -e '@.board_name' | grep raspberry)" ] && [ "$(uci -q get openmptcprouter.settings.scaling_governor)" != "performance" ] && {
|
||||
|
|
Loading…
Reference in a new issue