mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 10:08:59 +00:00
86917e4979
Make sure exit value of this script is zero. Or the file won't be deleted. Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
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
|