mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 08:51:13 +00:00
0b31713c85
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
7 lines
152 B
Bash
Executable File
7 lines
152 B
Bash
Executable File
#!/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
|
|
}
|