mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-10-31 22:14:27 -04:00
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
|
|
}
|