Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
a1296626
Commit
a1296626
authored
Sep 01, 2021
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm release-upgrade: try be assured we have dm service is enabled
parent
1c2ad8b2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
9 deletions
+21
-9
epm-release_upgrade
bin/epm-release_upgrade
+21
-9
No files found.
bin/epm-release_upgrade
View file @
a1296626
...
@@ -207,15 +207,27 @@ __check_system()
...
@@ -207,15 +207,27 @@ __check_system()
docmd epm
--skip-installed
install
systemd
||
fatal
docmd epm
--skip-installed
install
systemd
||
fatal
fi
fi
# FIXME: will GUI closed during that changes?
# switch from prefdm: https://bugzilla.altlinux.org/show_bug.cgi?id=26405#c47
# switch from prefdm: https://bugzilla.altlinux.org/show_bug.cgi?id=26405#c52
if
is_active_systemd systemd
;
then
if
is_active_systemd systemd
&&
serv display-manager status
>
/dev/null
||
serv prefdm status
>
/dev/null
;
then
if
serv display-manager exists
||
serv prefdm exists
;
then
# docmd serv dm off
# don't stop running X server!
docmd systemctl disable prefdm.service
# docmd serv dm off
docmd systemctl disable display-manager.service
docmd serv disable prefdm
docmd systemctl
enable
display-manager.service
docmd serv disable display-manager
# docmd systemctl enable sddm.service
docmd serv
enable
display-manager
# docmd systemctl enable lightdm.service
# $ epm sf dm.service
# xinitrc: /lib/systemd/system/dm.service
# gdm: /lib/systemd/system/gdm.service
# lightdm: /lib/systemd/system/lightdm.service
# lxde-lxdm: /lib/systemd/system/lxdm.service
# xinitrc: /lib/systemd/system/prefdm.service
# sddm: /lib/systemd/system/sddm.service
# enable first available DM
for
i
in
lightdm sddm lxde-lxdm gdm
;
do
serv
$i
exists
&&
docmd serv
enable
$i
&&
break
done
fi
fi
fi
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment