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

depend() {
	need alsasound
}

start() {
	ebegin "Loading sound font bank"
	${sfxload} -q "${sfxbank}"
	eend $? "Error at loading sound font bank ${sfxbank}"
}

stop() {
	ebegin "Unloading sound font bank"
	${sfxload} -i -q
	eend $? "Error at unloading sound font bank"
}