mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
9 lines
162 B
Bash
Executable File
9 lines
162 B
Bash
Executable File
#!/bin/sh
|
|
|
|
[ "$(uci get rpcd.@rpcd[0].socket)" = "/var/run/ubus.sock" ] || exit 0
|
|
|
|
uci set rpcd.@rpcd[0].socket='/var/run/ubus/ubus.sock'
|
|
uci commit rpcd
|
|
|
|
exit 0
|