diff options
Diffstat (limited to 'meta/recipes-core/initscripts/initscripts-1.0/mountall.sh')
-rwxr-xr-x | meta/recipes-core/initscripts/initscripts-1.0/mountall.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/initscripts/initscripts-1.0/mountall.sh b/meta/recipes-core/initscripts/initscripts-1.0/mountall.sh index 94bae420c0..c719be5d9a 100755 --- a/meta/recipes-core/initscripts/initscripts-1.0/mountall.sh +++ b/meta/recipes-core/initscripts/initscripts-1.0/mountall.sh | |||
@@ -33,7 +33,7 @@ kill -USR1 1 | |||
33 | # Execute swapon command again, in case we want to swap to | 33 | # Execute swapon command again, in case we want to swap to |
34 | # a file on a now mounted filesystem. | 34 | # a file on a now mounted filesystem. |
35 | # | 35 | # |
36 | swapon -a 2> /dev/null | 36 | [ -x /sbin/swapon ] && swapon -a |
37 | 37 | ||
38 | : exit 0 | 38 | : exit 0 |
39 | 39 | ||