blob: 12f201a8a6a961a6fef98a27925a2987ff6ed170 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#!/sbin/runscript
# Copyright 2009-2013 Sabayon
# Copyright 2013 Kogaion
# Distributed under the terms of the GNU General Public License v2
depend() {
after mtab
before hostname
before xdm
}
start() {
. /sbin/kogaion-functions.sh
ebegin "Configuring GPUs and input devices"
if kogaion_is_live; then
/sbin/gpu-configuration > /dev/null
eend 0
return 0
fi
/usr/libexec/x-setup.sh > /dev/null
eend ${?}
}
|