mirror of
https://github.com/unraid/webgui.git
synced 2026-01-08 10:39:56 -06:00
scripts dutchification - batch 1
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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/"
|
||||
|
||||
Reference in New Issue
Block a user