This commit is contained in:
2014-06-28 10:54:06 +04:00
parent 20f1cad363
commit c9168818d4
8 changed files with 31 additions and 12 deletions

View File

@@ -1,15 +1,15 @@
#!/usr/bin/env watchman
service_command='/bin/fsck'
service_args='-A -C -p'
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.start
watchman.msg "Remounting / as read-write..."
mount / -o remount,rw