projects
/
librecmc
/
librecmc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f1c2dc
)
On shutdown disabled every mounted swap device. Fixes #4721 Thanks to Angel Marin
author
Hauke Mehrtens
<hauke@hauke-m.de>
Sat, 7 Mar 2009 12:58:08 +0000
(12:58 +0000)
committer
Hauke Mehrtens
<hauke@hauke-m.de>
Sat, 7 Mar 2009 12:58:08 +0000
(12:58 +0000)
SVN-Revision: 14770
package/base-files/files/etc/init.d/fstab
patch
|
blob
|
history
diff --git
a/package/base-files/files/etc/init.d/fstab
b/package/base-files/files/etc/init.d/fstab
index b7cc209d1316d21a7816a26cd00863609ebc2fe0..840350ce19005a21ad29ab58b59f5a21e498171f 100755
(executable)
--- a/
package/base-files/files/etc/init.d/fstab
+++ b/
package/base-files/files/etc/init.d/fstab
@@
-62,5
+62,6
@@
stop() {
config_load fstab
config_foreach do_unmount mount
config_foreach do_swapoff swap
+ [ -x /sbin/swapoff ] && swapoff -a
}