unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: jbranso--- via <help-guix@gnu.org>
To: "tumashu" <tumashu@163.com>
Cc: "help-guix" <help-guix@gnu.org>
Subject: Re: How to run "rmmod xxx" when I shutdown my computer.
Date: Wed, 23 Feb 2022 18:49:23 +0000	[thread overview]
Message-ID: <c2af8e07ede5a8ee048278cb7c3aea2a@dismail.de> (raw)
In-Reply-To: <1bf79f8.3e9.17f23a8dbb5.Coremail.tumashu@163.com>

Perhaps you could write a script...Then call that script everytime you want to shutdown...

February 22, 2022 5:59 PM, "tumashu" <tumashu@163.com (mailto:tumashu@163.com?to=%22tumashu%22%20<tumashu@163.com>)> wrote:
rmmod mt7921e, a mediatek wifi module

I find this mode let shutdow time > 10min, so i want to unload it before shutdown

not the blacklight.
--
发自我的网易邮箱手机智能版<br/><br/><br/>
----- Original Message -----
From: jbranso@dismail.de (mailto:jbranso@dismail.de)
To: tumashu <tumashu@163.com (mailto:tumashu@163.com)>, help-guix <help-guix@gnu.org (mailto:help-guix@gnu.org)>
Sent: Tue, 22 Feb 2022 22:47:32 +0000
Subject: Re: How to run "rmmod xxx" when I shutdown my computer.

February 21, 2022 9:45 PM, "tumashu" <tumashu@163.com (mailto:tumashu@163.com)> wrote:

> Hello, every one.
>
> I find a kernel module let shutdown time > 10min, so I want to run "rmmod xxx" before shutdown or
> reboot. How to do this job in guix system?

Hmmm...Could you potentially blacklist the module?

https://guix.gnu.org/manual/en/html_node/Bootloader-Configuration.html (https://guix.gnu.org/manual/en/html_node/Bootloader-Configuration.html)

The linux-arguments may be a way to blacklist kernel modules.

May I ask why you wish to remove the module before shutdown or reboot?

Also which kernel module?

>
> Thanks!

  parent reply	other threads:[~2022-02-23 18:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-22  2:41 How to run "rmmod xxx" when I shutdown my computer tumashu
2022-02-22 22:47 ` jbranso
2022-02-22 22:59   ` tumashu
2022-02-23 18:49   ` jbranso--- via [this message]
2022-02-25 23:51   ` jbranso
2022-02-26  0:16     ` tumashu
  -- strict thread matches above, loose matches on Subject: below --
2022-02-22  2:24 tumashu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c2af8e07ede5a8ee048278cb7c3aea2a@dismail.de \
    --to=help-guix@gnu.org \
    --cc=jbranso@dismail.de \
    --cc=tumashu@163.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).