ALT Linux Bugzilla
– Attachment 1476 Details for
Bug 9531
Слишком быстрый ребут при ошибках файловой системы
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Пауза перед перезагрузкой после исправления ошибок в файловой системе
rc.sysinit.patch (text/plain), 893 bytes, created by
Michael A. Kangin
on 2006-05-07 18:55:04 MSD
(
hide
)
Description:
Пауза перед перезагрузкой после исправления ошибок в файловой системе
Filename:
MIME Type:
Creator:
Michael A. Kangin
Created:
2006-05-07 18:55:04 MSD
Size:
893 bytes
patch
obsolete
>--- rc.sysinit.orig 2006-05-07 18:42:50 +0400 >+++ rc.sysinit 2006-05-07 18:42:26 +0400 >@@ -150,7 +150,13 @@ > > if [ $rc -gt 1 ]; then > # A return of 3 or higher means there were serious problems. >- if [ $rc -gt 3 ]; then >+ if [ $rc -lt 4 ]; then >+ echo "Remounting root filesystem readonly." >+ mount -n -o remount,ro / >+ echo "Automatic reboot in progress. Press 'L' to log in." >+ read -n 1 -s -t 60 whattodo >+ [ "$whattodo" = "l" -o "$whattodo" = "L" ] || reboot -f >+ fi > echo > echo "*** An error occurred during the file system check." > echo "*** Dropping you to a shell; the system will reboot" >@@ -158,12 +164,7 @@ > > PS1="(Repair filesystem) \# # "; export PS1 > sulogin >- fi > >- echo "Remounting root filesystem readonly." >- mount -n -o remount,ro / >- echo "Automatic reboot in progress." >- reboot -f > elif [ $rc = 1 ]; then > _RUN_QUOTACHECK=1 > fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 9531
: 1476