blob: 0c486c06b2c4b64431633e7533e6961d0fae4de5 (
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
# Distributed under the terms of the GNU General Public License v2
depend() {
after mtab
before hostname
before xdm
}
start() {
. /sbin/rogentos-functions.sh
ebegin "Configuring GPUs and input devices"
if rogentos_is_live; then
start-stop-daemon --start --background --pidfile /var/run/x-setup.pid \
--make-pidfile --exec /usr/sbin/x-setup-configuration
eend 0
return 0
fi
/usr/libexec/x-setup.sh > /dev/null
eend ${?}
}
|