Explorar el Código

ignore swap when umounting

Waldemar Brodkorb hace 13 años
padre
commit
d22b564b8d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      package/base-files/src/etc/init.d/umount

+ 1 - 1
package/base-files/src/etc/init.d/umount

@@ -5,7 +5,7 @@ case $1 in
 autostop)
 	cd /
 	sync
-	for i in $(grep -v ^# /etc/fstab 2>/dev/null|awk '{ print $2 }');do
+	for i in $(grep -v ^# /etc/fstab 2>/dev/null|awk '{ print $2 }'|grep -v none);do
        	 umount $i 2>/dev/null
 	done
 	;;