This commit is contained in:
2013-09-29 03:32:39 +04:00
parent 946b77d028
commit 7af48c15d4
24 changed files with 256 additions and 0 deletions

16
init.d/fsck Executable file
View File

@@ -0,0 +1,16 @@
#!/usr/bin/env watchman
service_type='oneshot'
unset stop restart status
start() {
watchman.msg "Remounting / as read-only..."
mount / -o remount,ro
watchman.msg "Checking filesystems..."
/bin/fsck -A -p
watchman.msg "Remounting / as read-write..."
mount / -o remount,rw
}