From: Mart Raudsepp Date: Mon, 20 Apr 2020 11:14:43 +0000 (+0300) Subject: Revert "net-misc/networkmanager: Make sure /run/NetworkManager dir is available" X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=08d128e1022326ed57c291abb137e2a48bca8070;p=gentoo.git Revert "net-misc/networkmanager: Make sure /run/NetworkManager dir is available" No known ACKs from networkmanager maintainers; touches installed file without coordinated revbump. This reverts commit ce80d55ef4d991cc3c86bcfb33999d89a5e6c604. Signed-off-by: Mart Raudsepp --- diff --git a/net-misc/networkmanager/files/init.d.NetworkManager-r1 b/net-misc/networkmanager/files/init.d.NetworkManager-r1 index 5bd0806eec33..3209644c511f 100644 --- a/net-misc/networkmanager/files/init.d.NetworkManager-r1 +++ b/net-misc/networkmanager/files/init.d.NetworkManager-r1 @@ -1,6 +1,6 @@ #!/sbin/openrc-run # Copyright (c) 2008 Saleem Abdulrasool -# Copyright 2013-2020 Gentoo Authors +# Copyright 2013-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 description="NetworkManager daemon. The service is marked as started only \ @@ -12,12 +12,6 @@ depend() { provide net } -start_pre() { - # Make sure we have /run/NetworkManager available or else - # service is seen as crashed by openrc because of missing pidfile - checkpath -q -d /run/NetworkManager -} - start() { # If we are re-called by a dispatcher event, we want to mark the service # as started without starting the daemon again