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
310ba226
Commit
310ba226
authored
Dec 12, 2017
by
Igor Pecovnik
Browse files
Tiny enhancement
parent
376a4193
Changes
1
Show whitespace changes
Inline
Side-by-side
debian-config-jobs
View file @
310ba226
...
@@ -697,6 +697,7 @@ function jobs ()
...
@@ -697,6 +697,7 @@ function jobs ()
systemctl disable lightdm.service
>
/dev/null 2>&1
systemctl disable lightdm.service
>
/dev/null 2>&1
systemctl stop lightdm.service
>
/dev/null 2>&1
systemctl stop lightdm.service
>
/dev/null 2>&1
sed
-i
"s/^NODM_ENABLED=.*/NODM_ENABLED=true/"
/etc/default/nodm
&&
service nodm start
sed
-i
"s/^NODM_ENABLED=.*/NODM_ENABLED=true/"
/etc/default/nodm
&&
service nodm start
DISPLAY_MANAGER
=
"nodm"
;;
;;
...
@@ -706,6 +707,7 @@ function jobs ()
...
@@ -706,6 +707,7 @@ function jobs ()
service nodm stop
&&
sed
-i
"s/^NODM_ENABLED=.*/NODM_ENABLED=false/"
/etc/default/nodm
service nodm stop
&&
sed
-i
"s/^NODM_ENABLED=.*/NODM_ENABLED=false/"
/etc/default/nodm
systemctl
enable
lightdm.service
>
/dev/null 2>&1
systemctl
enable
lightdm.service
>
/dev/null 2>&1
systemctl start lightdm.service
>
/dev/null 2>&1
systemctl start lightdm.service
>
/dev/null 2>&1
DISPLAY_MANAGER
=
"lightdm"
;;
;;
...
...
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