services: network-manager: Add 'configuration' action.
* gnu/services/networking.scm (network-manager-shepherd-service): Add 'actions' field.
This commit is contained in:
		
							parent
							
								
									384856c9fb
								
							
						
					
					
						commit
						82607c442b
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -1,5 +1,5 @@ | ||||||
| ;;; GNU Guix --- Functional package management for GNU | ;;; GNU Guix --- Functional package management for GNU | ||||||
| ;;; Copyright © 2013-2022 Ludovic Courtès <ludo@gnu.org> | ;;; Copyright © 2013-2023 Ludovic Courtès <ludo@gnu.org> | ||||||
| ;;; Copyright © 2015 Mark H Weaver <mhw@netris.org> | ;;; Copyright © 2015 Mark H Weaver <mhw@netris.org> | ||||||
| ;;; Copyright © 2016, 2018, 2020 Efraim Flashner <efraim@flashner.co.il> | ;;; Copyright © 2016, 2018, 2020 Efraim Flashner <efraim@flashner.co.il> | ||||||
| ;;; Copyright © 2016 John Darrington <jmd@gnu.org> | ;;; Copyright © 2016 John Darrington <jmd@gnu.org> | ||||||
|  | @ -1235,6 +1235,7 @@ project's documentation} for more information." | ||||||
|                             ;; TODO: iwd? is deprecated and should be passed |                             ;; TODO: iwd? is deprecated and should be passed | ||||||
|                             ;; with shepherd-requirement, remove later. |                             ;; with shepherd-requirement, remove later. | ||||||
|                             ,@(if iwd? '(iwd) '()))) |                             ,@(if iwd? '(iwd) '()))) | ||||||
|  |              (actions (list (shepherd-configuration-action conf))) | ||||||
|              (start |              (start | ||||||
|               #~(lambda _ |               #~(lambda _ | ||||||
|                   (let ((pid |                   (let ((pid | ||||||
|  |  | ||||||
		Reference in a new issue