some new scripts and fsck fix

This commit is contained in:
2014-07-21 00:24:01 +04:00
parent 7995c10061
commit 9841e59c32
3 changed files with 60 additions and 3 deletions

View File

@@ -1,7 +1,5 @@
#!/usr/bin/env watchman
service_command='/bin/fsck'
service_args='-A -C -p'
service_type='oneshot'
start() {
@@ -9,7 +7,7 @@ start() {
mount / -o remount,ro
watchman.msg "Checking filesystems..."
watchman.start
/usr/bin/fsck -A -C -p
watchman.msg "Remounting / as read-write..."
mount / -o remount,rw