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