base-files: port init.d/led to new config_get
[openwrt.git] / package / base-files / files / etc / init.d / fstab
index b7cc209..840350c 100755 (executable)
@@ -62,5 +62,6 @@ stop() {
        config_load fstab
        config_foreach do_unmount mount
        config_foreach do_swapoff swap
+       [ -x /sbin/swapoff ] && swapoff -a
 }
 
This page took 0.025602 seconds and 4 git commands to generate.