File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed
Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -779,18 +779,12 @@ def configure_nm_iwd(self) -> None:
779779
780780 # Disable standalone iwd service (NetworkManager will manage iwd)
781781 # and enable NetworkManager
782- if self ._helper_flags .get ('base' , False ) is False :
783- # Base not installed yet, use post-install hooks
784- def post_install_configure_nm_iwd (* args : str , ** kwargs : str ) -> None :
785- self .disable_service ('iwd.service' )
786- self .enable_service ('NetworkManager.service' )
787-
788- self .post_base_install .append (post_install_configure_nm_iwd )
789- else :
790- # Base already installed, configure now
782+ def post_install_configure_nm_iwd (* args : str , ** kwargs : str ) -> None :
791783 self .disable_service ('iwd.service' )
792784 self .enable_service ('NetworkManager.service' )
793785
786+ self .post_base_install .append (post_install_configure_nm_iwd )
787+
794788 def mkinitcpio (self , flags : list [str ]) -> bool :
795789 for plugin in plugins .values ():
796790 if hasattr (plugin , 'on_mkinitcpio' ):
You can’t perform that action at this time.
0 commit comments