X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/1cc41c880866d414c4b881b9fbf68a5e112f3248..6972e6f26a0e954f675dd8149af4a8a5457e2e87:/package/base-files/files/etc/init.d/fstab diff --git a/package/base-files/files/etc/init.d/fstab b/package/base-files/files/etc/init.d/fstab index b7cc209d1..840350ce1 100755 --- 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 }