mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-25 18:32:57 +02:00
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:
@@ -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..."
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user