etc-gentoo/init.d/oss
Hans Wurst 5f1a17bdc4 committing changes in /etc after emerge run
Package changes:
+media-sound/oss-4.2.2011
2015-08-04 18:58:52 +02:00

27 lines
344 B
Plaintext
Executable File

#!/sbin/runscript
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
opts="save"
start() {
for i in ${DRIVERS}; do
modprobe oss_${i}
done
ossdetect -d
ossdevlinks
}
stop() {
modprobe -r osscore
save
}
save() {
ebegin "Saving mixer levels"
savemixer
eend $?
}