mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 19:23:24 +02:00
MPFire und Samba Pakete angepasst
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@910 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
@@ -14,7 +14,7 @@ system("/etc/init.d/mpd start >/dev/null");
|
||||
if ($ARGV[0] eq 'scan') {
|
||||
if ($debug){print "Creating Database\n";}
|
||||
system("mpd --create-db >/dev/null");
|
||||
system("/etc/init.d/mpd restart");
|
||||
system("/etc/init.d/mpd restart >/dev/null");
|
||||
}
|
||||
elsif ($ARGV[0] eq 'play') {
|
||||
&checkmute();
|
||||
@@ -106,10 +106,10 @@ sub checkmute(){
|
||||
my @PCM = split(/ /,$temp);
|
||||
if ( $PCM[7] =~ /off/ ){
|
||||
if ($debug){print "PCM was muted - umuting.\n";}
|
||||
system("amixer set PCM toggle");
|
||||
system("amixer set PCM toggle >/dev/null");
|
||||
}
|
||||
if ( $Master[7] =~ /off/ ){
|
||||
if ($debug){print "Master was muted - umuting.\n";}
|
||||
system("amixer set Master toggle");
|
||||
system("amixer set Master toggle >/dev/null");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user