[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[hurd] 17/26: Make boot script reboot when fsck told so
From: |
Samuel Thibault |
Subject: |
[hurd] 17/26: Make boot script reboot when fsck told so |
Date: |
Sat, 02 Nov 2013 14:44:45 +0000 |
This is an automated email from the git hooks/post-receive script.
sthibault pushed a commit to branch upstream
in repository hurd.
commit 1cf9d9d1ee1b5bb9ea73208b9635252ab5d883fb
Author: Samuel Thibault <address@hidden>
Date: Tue Oct 22 11:39:32 2013 +0200
Make boot script reboot when fsck told so
* daemons/rc.sh: When fsck returned 2 or 3, reboot the system.
---
daemons/rc.sh | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/daemons/rc.sh b/daemons/rc.sh
index 5778094..2239bf7 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)
--
Alioth's /usr/local/bin/git-commit-notice on
/srv/git.debian.org/git/pkg-hurd/hurd.git
- [hurd] 08/26: console-client: entitle console_exit with the noreturn attribute, (continued)
- [hurd] 08/26: console-client: entitle console_exit with the noreturn attribute, Samuel Thibault, 2013/11/02
- [hurd] 06/26: libfshelp: properly free active translator entries, Samuel Thibault, 2013/11/02
- [hurd] 21/26: configure.ac: properly escape the test for X11/keysymdef.h, Samuel Thibault, 2013/11/02
- [hurd] 25/26: libports: fix error handling in _ports_create_port_internal, Samuel Thibault, 2013/11/02
- [hurd] 14/26: libdiskfs: fix removal of socket nodes, Samuel Thibault, 2013/11/02
- [hurd] 22/26: exec: Remove the remaining BFD related bits, Samuel Thibault, 2013/11/02
- [hurd] 13/26: pflocal: fix destruction of explicitely bound sockets, Samuel Thibault, 2013/11/02
- [hurd] 20/26: Make boot script accept more fsck values, Samuel Thibault, 2013/11/02
- [hurd] 19/26: Add xenl to hurd.ti, Samuel Thibault, 2013/11/02
- [hurd] 18/26: Make CUD more usual, Samuel Thibault, 2013/11/02
- [hurd] 17/26: Make boot script reboot when fsck told so,
Samuel Thibault <=
- [hurd] 15/26: pflocal: fix port leak when receiving port rights, Samuel Thibault, 2013/11/02
- [hurd] 16/26: pflocal: fix message flags on receive, Samuel Thibault, 2013/11/02