committing changes in /etc after emerge run

Package changes:
+media-sound/oss-4.2.2011
This commit is contained in:
Hans Wurst
2015-08-04 18:58:52 +02:00
parent 46e27eeef2
commit 5f1a17bdc4
5 changed files with 217 additions and 0 deletions

26
init.d/oss Executable file
View File

@@ -0,0 +1,26 @@
#!/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 $?
}