mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 15:02:32 +00:00
7 lines
152 B
Bash
7 lines
152 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
[ "$(uci get rpcd.@rpcd[0].socket)" = "/var/run/ubus.sock" ] && {
|
||
|
uci set rpcd.@rpcd[0].socket='/var/run/ubus/ubus.sock'
|
||
|
uci commit rpcd
|
||
|
}
|