mirror of
https://github.com/henrygd/beszel.git
synced 2025-12-17 02:36:17 +01:00
install: remove additional service restart for openwrt
This commit is contained in:
@@ -785,9 +785,7 @@ EXTRA_HELP=" update Update the Beszel agent
|
|||||||
restart Restart the Beszel agent"
|
restart Restart the Beszel agent"
|
||||||
|
|
||||||
update() {
|
update() {
|
||||||
if $BIN_PATH update | grep -q "Update completed successfully"; then
|
$BIN_PATH update
|
||||||
/etc/init.d/beszel-agent restart
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|||||||
Reference in New Issue
Block a user