mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
services: network-manager: Create /etc/ipsec.secrets directory in activation.
* gnu/services/networking.scm (network-manager-activation): Create the /etc/ipsec.secrets directory. Change-Id: Ib347cc00e7cbd314b2a465b5ee681285ba0d3115 Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop> Modified-by: Maxim Cournoyer <maxim@guixotic.coop>
This commit is contained in:
parent
6e6335e050
commit
82e0ba892b
1 changed files with 4 additions and 1 deletions
|
@ -1484,7 +1484,10 @@ project's documentation} for more information."
|
|||
,(file-union "network-manager-configuration-directory"
|
||||
extra-configuration-files)
|
||||
"/etc/NetworkManager/conf.d"))
|
||||
'()))))
|
||||
'())
|
||||
;; Ensure "/etc/ipsec.secrets" exists, which is required by the
|
||||
;; nm-l2tp plugin.
|
||||
(mkdir-p "/etc/ipsec.secrets"))))
|
||||
|
||||
(define (vpn-plugin-directory plugins)
|
||||
"Return a directory containing PLUGINS, the NM VPN plugins."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue