mirror of
https://github.com/unraid/webgui.git
synced 2026-04-30 06:49:24 -05:00
scripts dutchification - batch 3
This commit is contained in:
+1
-1
@@ -208,7 +208,7 @@ fi
|
||||
/sbin/$SHUTDOWN_COMMAND -w
|
||||
|
||||
# Turn off swap:
|
||||
if [[ ! $(/bin/cat /proc/swaps | wc -l) == 1 ]]; then
|
||||
if [[ ! $(/bin/cat /proc/swaps | /bin/wc -l) == 1 ]]; then
|
||||
log "Turning off swap."
|
||||
run /sbin/swapoff -a
|
||||
run /bin/sync
|
||||
|
||||
Reference in New Issue
Block a user