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
e7023c33
Unverified
Commit
e7023c33
authored
Jun 16, 2018
by
Igor Pečovnik
Committed by
GitHub
Jun 16, 2018
Browse files
Suppress boot error if kernel modules are absent
Prevent loading paralel printer port drivers which we don't need here
parent
76210eaa
Changes
1
Show whitespace changes
Inline
Side-by-side
debian-config-functions
View file @
e7023c33
...
...
@@ -483,6 +483,13 @@ function configure_desktop ()
usermod
-aG
${
additionalgroup
}
${
CHOSEN_USER
}
2>/dev/null
done
# Prevent loading paralel printer port drivers which we don't need here.Suppress boot error if kernel modules are absent
if
[[
-f
/etc/modules-load.d/cups-filters.conf
]]
;
then
sed
"s/^lp/#lp/"
-i
/etc/default/console-setup
sed
"s/^ppdev/#ppdev/"
-i
/etc/default/console-setup
sed
"s/^parport_pc/#parport_pc/"
-i
/etc/default/console-setup
fi
# fix for gksu in Xenial
touch
/home/
${
CHOSEN_USER
}
/.Xauthority
cp
-R
/etc/skel/. /home/
${
CHOSEN_USER
}
...
...
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