소스 검색

block-mount: Attempt swapon a after mounting as well as before. This ensures that swap on a filesystem is enabled.

SVN-Revision: 22150
Daniel Dickinson 15 년 전
부모
커밋
b9dfb5d483
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      package/block-mount/files/fstab.init

+ 1 - 0
package/block-mount/files/fstab.init

@@ -50,6 +50,7 @@ start() {
 	}
 	config_foreach do_swapon swap
 	config_foreach do_mount mount
+	config_foreach do_swapon swap  # do swap a second time so that swap on filesystems is enabled
 }
 
 stop() {