Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
openmamba
postplug
Commits
f0dbdca8
Commit
f0dbdca8
authored
13 years ago
by
Silvan Calarco
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xorg: remove code to configure KDM that is not used any longer
parent
07581d25
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
17 deletions
+1
-17
postplug.d/30xorg
postplug.d/30xorg
+1
-17
No files found.
postplug.d/30xorg
View file @
f0dbdca8
...
...
@@ -18,22 +18,6 @@ me="xorg"
XORGCONF
=
/etc/X11/xorg.conf
# kde-config is possibly not called for boot time speed
[
-r
/opt/kde/share/config/kdm/kdmrc
]
&&
KDMRC
=
/opt/kde/share/config/kdm/kdmrc
||
{
[
-r
/opt/kde3/share/config/kdm/kdmrc
]
&&
KDMRC
=
/opt/kde3/share/config/kdm/kdmrc
||
\
KDMRC
=
"
$(
kde-config
--prefix
2>/dev/null
)
/share/config/kdm/kdmrc"
}
[
-w
"
$KDMRC
"
]
||
{
logmsg
"
$me
"
"warning: cannot find kdmrc; KDM will not be configured"
unset
KDMRC
;
}
#postplugnew_file=$postplugnewdir/xorg
#rm -f $postplugnew_file
[
-e
/etc/X11/XF86Config
-a
!
-e
/etc/X11/xorg.conf
]
&&
cp
/etc/X11/XF86Config
$XORGCONF
kernel_min
=
$(
uname
-r
|
sed
-e
's,[^\.]*\.,,'
-e
's,\..*,,'
)
# xorg_section_screen_config()
...
...
@@ -101,7 +85,7 @@ _EOF
# configure kdm as the default login_manager if none is set
/usr/sbin/alternatives
--display
login_manager
>
/dev/null
||
/usr/sbin/alternatives
--install
/usr/sbin/login_manager login_manager /opt/kde
3
/bin/kdm 20
/usr/sbin/alternatives
--install
/usr/sbin/login_manager login_manager /opt/kde/bin/kdm 20
telinit q
}
...
...
This diff is collapsed.
Click to expand it.
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