summaryrefslogtreecommitdiff
path: root/daemons/rc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'daemons/rc.sh')
-rw-r--r--daemons/rc.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/daemons/rc.sh b/daemons/rc.sh
index 57780945..2239bf72 100644
--- a/daemons/rc.sh
+++ b/daemons/rc.sh
@@ -26,7 +26,12 @@ then
0)
;;
# Filesystem modified (but ok now)
- 1 | 2)
+ 1)
+ ;;
+ # Filesystem modified, filesystem should be restarted
+ # Ideally we would only restart the filesystem
+ 2 | 3)
+ /sbin/reboot
;;
# Fsck couldn't fix it.
4 | 8)