From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sEJ0FhOEFmJU4gAAgWs5BA (envelope-from ) for ; Wed, 23 Feb 2022 19:59:31 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id eOf2EhOEFmITWgEAauVa8A (envelope-from ) for ; Wed, 23 Feb 2022 19:59:31 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D525F2E2E4 for ; Wed, 23 Feb 2022 19:59:30 +0100 (CET) Received: from localhost ([::1]:50498 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nMwrK-0007s0-0q for larch@yhetil.org; Wed, 23 Feb 2022 13:59:30 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42294) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nMwhg-0004kD-QM for help-guix@gnu.org; Wed, 23 Feb 2022 13:49:33 -0500 Received: from mx1.dismail.de ([78.46.223.134]:9553) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nMwhd-00007D-C6 for help-guix@gnu.org; Wed, 23 Feb 2022 13:49:32 -0500 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id dcccd59a; Wed, 23 Feb 2022 19:49:25 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h= mime-version:date:content-type:from:message-id:subject:to:cc :in-reply-to:references; s=20190914; bh=D3MrVk4YWYZOUR/FFvcBkxeN NxuWhzu8CXLA0R6DZEE=; b=lItXF+IDxkxrAXRPltnQWUltl87SlGgObyu7ZTVy 3nIT8V66IHGCgl+BhleDZfMjezKVzeLID/wlGEfwG6lgG/F25aZbvCB1ZN1WYmP5 odpqV1eJd2X/J0atWcV69wPT36SUXMKZ7Gh9lkGbOWTh87IaxXCLbjrHIR8ShiqK RDvVg5RPz0JZkJvcxN/W8hsWYI7QYSWiIlvsk3xJ513YN4puZWhGlWFXBODCF+35 wfmrVDU0U8YHEWi8Ng/PHWH4JL48/aTvh+cq5ioICGEQ2ypdPb8nJckrfebeGhjT ZWWt/ojFHqrNIygxKMkI63puMj2YS9nP4zsrQC7CN+J6uw== Received: from smtp2.dismail.de ( [10.240.26.12]) by mx1.dismail.de (OpenSMTPD) with ESMTP id b51c94f0; Wed, 23 Feb 2022 19:49:25 +0100 (CET) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id 2c59f816; Wed, 23 Feb 2022 19:49:24 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 30067638 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Wed, 23 Feb 2022 19:49:24 +0100 (CET) MIME-Version: 1.0 Date: Wed, 23 Feb 2022 18:49:23 +0000 X-Mailer: RainLoop/1.14.0a Message-ID: Subject: Re: How to run "rmmod xxx" when I shutdown my computer. To: "tumashu" Cc: "help-guix" In-Reply-To: <1bf79f8.3e9.17f23a8dbb5.Coremail.tumashu@163.com> References: <1bf79f8.3e9.17f23a8dbb5.Coremail.tumashu@163.com> <3499c31b.18b9.17f1f4e6be6.Coremail.tumashu@163.com> Received-SPF: pass client-ip=78.46.223.134; envelope-from=jbranso@dismail.de; helo=mx1.dismail.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" Reply-to: jbranso@dismail.de From: jbranso--- via X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1645642770; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=MRVw1rYogjU4sXcejj+YY2/VlRIFo/66W7XCM/vaKuU=; b=aXt2wJ7e7s+lOhuWaxdhxJnc8cxQ36FOcHDqtd9tZxtst86lCGyX45edW4Y1hPomEDiemc xmluPc4mVmwIdrsn1qztkpOmnqKpOwagFYuVBY/8Wv4TWQl1pCBFcX4SI1gN6YeSVg2GhL dwvYWtwTys88KLmnbR5/fVFOBh9Hsa2CRJ6DYSnjYA0pSgH3Di5IcrK2YdTLNJx0mNhhNU e5axRGdaKiSJ7eu8x+ZEWSQO9mV/4YX4LgvNEkdkxYRUiAlXc9Vdv1sc4t+s7zF1W5oro2 UQ7wG6wC2kM2zTwJFjtnhZzq+MX9VQqee+EPcY0DNpOWrvXRA/1NuF8513lf2Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1645642770; a=rsa-sha256; cv=none; b=SMYsNrFFxQ50XxBFiTCmuvazVZnKpAD/LMJl5hKBQmf8jx+9kTkHNoBL4nPyun6ls7WZMB AzA6Iofz0EOFq3fgWk4JeLgVIXktr7BIdBD+zArHyYOnoKhUUhP49XcFJkPToe7Tm2v1dY tNInMZjUgA1rblXlTmN73jG78+NIalcwlT3fKSX4DsPHNHMJKN4wYyIWb16QbcR73MatY0 u4ETh5yOu0uTLJpBzus6QFw0RfpEj8dDx+MZq8c25WoHcDYwtYEpjm65+2OB7HEhr1a7Ud 3P/UIPUEvohLsOjPxrK9pJZ7gh8dnx9gSnAPDk1LvMA1mFBtoiu+lP8V34NOCQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=dismail.de header.s=20190914 header.b=lItXF+ID; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.73 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=dismail.de header.s=20190914 header.b=lItXF+ID; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: D525F2E2E4 X-Spam-Score: -3.73 X-Migadu-Scanner: scn1.migadu.com X-TUID: 3a7oREBNowKU Perhaps you could write a script...Then call that script everytime you wa= nt to shutdown...=0A=0AFebruary 22, 2022 5:59 PM, "tumashu" )> wrot= e:=0Armmod mt7921e, a mediatek wifi module=0A=0AI find this mode let shut= dow time > 10min, so i want to unload it before shutdown=0A=0Anot the bla= cklight.=0A--=0A=E5=8F=91=E8=87=AA=E6=88=91=E7=9A=84=E7=BD=91=E6=98=93=E9= =82=AE=E7=AE=B1=E6=89=8B=E6=9C=BA=E6=99=BA=E8=83=BD=E7=89=88

=0A----- Original Message -----=0AFrom: jbranso@dismail.de (mailto:jbra= nso@dismail.de)=0ATo: tumashu ,= help-guix =0ASent: Tue, 22= Feb 2022 22:47:32 +0000=0ASubject: Re: How to run "rmmod xxx" when I shu= tdown my computer.=0A=0AFebruary 21, 2022 9:45 PM, "tumashu" wrote:=0A=0A> Hello, every one.=0A>=0A> I = find a kernel module let shutdown time > 10min, so I want to run "rmmod x= xx" before shutdown or=0A> reboot. How to do this job in guix system?=0A= =0AHmmm...Could you potentially blacklist the module?=0A=0Ahttps://guix.g= nu.org/manual/en/html_node/Bootloader-Configuration.html (https://guix.gn= u.org/manual/en/html_node/Bootloader-Configuration.html)=0A=0AThe linux-a= rguments may be a way to blacklist kernel modules.=0A=0AMay I ask why you= wish to remove the module before shutdown or reboot?=0A=0AAlso which ker= nel module?=0A=0A>=0A> Thanks!