mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
voice-client: make sure voicesec encrypted pasword is saved
This commit is contained in:
parent
7e20efba97
commit
55ccad945a
1 changed files with 1 additions and 0 deletions
|
|
@ -845,6 +845,7 @@ encrypt_password()
|
|||
if [ -e /usr/bin/voicesec ] ; then
|
||||
echo "Encrypting password for $1"
|
||||
/usr/bin/voicesec -e $secret > /usr/lib/asterisk/voicesec_$1
|
||||
fsync /usr/lib/asterisk/voicesec_$1
|
||||
fi
|
||||
uci_remove voice_client $1 secret
|
||||
uci_commit voice_client
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue