diff options
Diffstat (limited to 'meta/recipes-core/initscripts/initscripts-1.0/checkroot.sh')
-rwxr-xr-x | meta/recipes-core/initscripts/initscripts-1.0/checkroot.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/initscripts/initscripts-1.0/checkroot.sh b/meta/recipes-core/initscripts/initscripts-1.0/checkroot.sh index dfee2afaad..02f0351fcb 100755 --- a/meta/recipes-core/initscripts/initscripts-1.0/checkroot.sh +++ b/meta/recipes-core/initscripts/initscripts-1.0/checkroot.sh | |||
@@ -69,7 +69,7 @@ fi | |||
69 | # before fsck, since fsck can be quite memory-hungry. | 69 | # before fsck, since fsck can be quite memory-hungry. |
70 | # | 70 | # |
71 | test "$VERBOSE" != no && echo "Activating swap" | 71 | test "$VERBOSE" != no && echo "Activating swap" |
72 | swapon -a 2> /dev/null | 72 | [ -x /sbin/swapon ] && swapon -a |
73 | 73 | ||
74 | # | 74 | # |
75 | # Check the root filesystem. | 75 | # Check the root filesystem. |