ALT Linux Bugzilla
– Attachment 2785 Details for
Bug 16693
при выключении системы невозможно выгрузить модуль ядра
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
патч к файлу /etc/rc.d/init.d/halt позволяющий решить проблему
halt-alt-like-ubuntu-crutches.patch (text/plain), 674 bytes, created by
Roman V. Tutov
on 2008-08-15 00:45:33 MSD
(
hide
)
Description:
патч к файлу /etc/rc.d/init.d/halt позволяющий решить проблему
Filename:
MIME Type:
Creator:
Roman V. Tutov
Created:
2008-08-15 00:45:33 MSD
Size:
674 bytes
patch
obsolete
>--- /etc/rc.d/init.d/halt.orig 2008-08-14 14:15:25 +0400 >+++ /etc/rc.d/init.d/halt 2008-08-14 14:26:01 +0400 >@@ -12,6 +12,8 @@ export NOLOCALE=1 > > WITHOUT_RC_COMPAT=1 > >+MODFILE=/etc/sysconfig/badmodules >+ > # Source function library. > . /etc/init.d/functions > >@@ -50,6 +52,13 @@ action() > return $rc > } > >+removemodules() >+{ >+ if [ -r "$MODFILE" ] ; then >+ /bin/cat "$MODFILE" | while read ; do /sbin/rmmod -f "$REPLY" ; done >+ fi >+} >+ > sendsigs() > { > action_begin_msg 'Asking all remaining processes to terminate' >@@ -111,6 +120,9 @@ fi > # Kill all processes > sendsigs > >+# Remove "bad" modules >+removemodules >+ > # Write to wtmp file before unmounting /var > halt -w >
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 16693
: 2785