summaryrefslogtreecommitdiff
blob: 6eafbb5803ea5439d56c866cafd51e90864db888 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/sbin/openrc-run
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

depend() {
	before xdm
}

start() {
	ebegin "Loading tpconfig options..."
	/usr/bin/tpconfig ${TPOPTIONS} > /dev/null 2> /tmp/tpconfig.start
	if [ -z "`cat /tmp/tpconfig.start 2> /dev/null`" ]; then
		eend 0
	else
		eend 1
	fi
}

stop() {
	ebegin "Stoping tpconfig (this does nothing)..."
	eend 0
}