scripts dutchification - batch 1

This commit is contained in:
bergware
2023-10-01 22:24:19 +02:00
parent e406aa4e47
commit 807060d7eb
2 changed files with 2 additions and 2 deletions

View File

@@ -556,7 +556,7 @@ docker_service_stop(){
if [[ $(ps -p $(docker_pid) -o comm= 2>/dev/null) != $DOCKERD ]]; then
rm -f $DOCKER_PIDFILE
# tear down the bridge
if [[ -e $SYSYEM/docker0 ]]; then
if [[ -e $SYSTEM/docker0 ]]; then
run ip link set docker0 down
run ip link del docker0
fi

View File

@@ -105,7 +105,7 @@ obsolete(){
if [[ -e "$CONFIG/plugins/$PLUGIN.plg" ]]; then
local VERSION=$(/usr/local/sbin/plugin version "$CONFIG/plugins/$PLUGIN.plg")
# assumes all version strings are of form YYYY.MM.DD[.letter]
if [[ $BADVER <= $VERSION ]]; then
if [[ $VERSION < $BADVER || $VERSION == $BADVER ]]; then
log "moving obsolete plugin $PLUGIN.plg version $VERSION to $CONFIG/plugins-error"
/usr/local/emhttp/webGui/scripts/notify -e "Plugin Removed" -s "$PLUGIN" -d "Plugin '$PLUGIN' version '$VERSION' was removed as it is incompatible with this version of Unraid OS" -m "A replacement *may* be available in Community Apps" -i "alert" -l "/Plugins"
mv "$CONFIG/plugins/$PLUGIN.plg" "$CONFIG/plugins-error/"