Alsa stellt nun auch die gespeicherte Lautstaerke wieder her

Guardian Paket wurde die fehlende Datei hinzugefuegt
Connectd sollte nun die secrets aendern wenn er auf Backup Profile schwenkt


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@933 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
maniacikarus
2007-10-01 17:04:30 +00:00
parent 453b418b46
commit cdfc1e52a8
3 changed files with 6 additions and 1 deletions

View File

@@ -11,11 +11,12 @@
case "$1" in
start)
boot_mesg "Starting ALSA..."
boot_mesg "Starting ALSA... Restoring volumes..."
modprobe snd_pcm_oss >/dev/null 2>&1 || failed=1
modprobe snd_mixer_oss >/dev/null 2>&1 || failed=1
(exit ${failed})
evaluate_retval
loadproc /usr/sbin/alsactl restore
;;
stop)
boot_mesg "Stopping ALSA... Saving volumes..."

View File

@@ -66,6 +66,9 @@ case "$1" in
rm -f /var/ipfire/ppp/settings
cp "/var/ipfire/ppp/settings-${BACKUPPROFILE}" /var/ipfire/ppp/settings
msg_log "Switched to backup profile ${BACKUPPROFILE}"
# to be shure the right secrets are used
eval $(/usr/local/bin/readhash /var/ipfire/ppp/settings-${BACKUPPROFILE})
echo "'$USERNAME' * '$PASSWORD'" > /var/ipfire/ppp/secrets
else
msg_log "No backup profile given. Exiting."
exit 0