Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Config
Commits
ef163f52
Commit
ef163f52
authored
Sep 18, 2017
by
Igor Pecovnik
Browse files
Add nodm install since some images comes with lightdm by default
parent
9311cb0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
debian-config-jobs
View file @
ef163f52
...
...
@@ -507,9 +507,11 @@ function jobs ()
exitstatus
=
$?
;
[[
$exitstatus
=
0
]]
&&
[[
-f
/etc/X11/default-display-manager
]]
&&
\
echo
"/usr/sbin/lightdm"
>
/etc/X11/default-display-manager
&&
\
debconf-apt-progress
--
apt-get
-o
Dpkg::Options::
=
"--force-confold"
-y
--no-install-recommends
install
lightdm-gtk-greeter lightdm
&&
systemctl start lightdm.service
debconf-apt-progress
--
apt-get
-o
Dpkg::Options::
=
"--force-confold"
-y
--no-install-recommends
install
lightdm-gtk-greeter lightdm
\
&&
systemctl start lightdm.service
[[
$exitstatus
=
1
]]
&&
[[
-f
/etc/X11/default-display-manager
]]
&&
\
echo
"/usr/sbin/nodm"
>
/etc/X11/default-display-manager
&&
\
debconf-apt-progress
--
apt-get
-o
Dpkg::Options::
=
"--force-confold"
-y
--no-install-recommends
install
nodm
\
&&
echo
"/usr/sbin/nodm"
>
/etc/X11/default-display-manager
&&
\
sed
-i
"s/^NODM_ENABLED=.*/NODM_ENABLED=true/"
/etc/default/nodm
&&
service nodm start
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