diff options
author | Holger Paradies <retabell@gmx.de> | 2023-11-27 17:54:23 +0100 |
---|---|---|
committer | Holger Paradies <retabell@gmx.de> | 2023-11-27 18:26:32 +0100 |
commit | 1cb9c9da22f5bd28749478b7410f81b0db3d37d6 (patch) | |
tree | 6b9e03182a4d459ff535634f127936be6e2f0832 /backend | |
parent | 844bb62b75a63e81d589a73b62f58a4a60704de0 (diff) | |
download | acritoxinstaller-1cb9c9da22f5bd28749478b7410f81b0db3d37d6.zip acritoxinstaller-1cb9c9da22f5bd28749478b7410f81b0db3d37d6.tar.gz |
Remove powermanagementprofilesrc
Delete during live boot created .config/powermanagementprofilesrc
which disable suspend and hibernate in live-mode.
File will automatically recreated at session-startup.
Diffstat (limited to 'backend')
-rw-r--r-- | backend/modules/install_configure | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/backend/modules/install_configure b/backend/modules/install_configure index 977a6db..36f85f9 100644 --- a/backend/modules/install_configure +++ b/backend/modules/install_configure @@ -196,6 +196,9 @@ function configure_target_purge_live_only_stuff() # remove kdm live shutdown hack rm -f "$TARGET/home/$cfg_username/.kde/shutdown/kdm-force-shutdown-hack" + # remove with live-boot created powermanagementprofilesrc ,will be automatically recreated at plasma5 session-startup + rm -f "$TARGET/home/$cfg_username/.config/powermanagementprofilesrc" + # remove live-only hooks rm -rf $TARGET/lib/live rm -f $TARGET/etc/profile.d/zz-live.sh |