Skip to content

Commit

Permalink
Copy settings at the right time
Browse files Browse the repository at this point in the history
  • Loading branch information
sergei-mironov committed Jun 2, 2022
1 parent f9cfdbf commit 925f12f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ nix-build -A dongle-monitor -o result-dongle-monitor
"$CWD/result-python/bin/telegram_check.py"
"$CWD/result-python/bin/dongleman_daemon.py" --check
mkdir /tmp/tg2sip || true
cp -f "$CWD/result-tg2sip-conf/etc/settings.ini" /tmp/tg2sip/settings.ini
( cd /tmp/tg2sip && "$CWD/result-tg2sip/bin/gen_db"; )
sudo rm -rf /tmp/asterisk || true
sudo mkdir /tmp/asterisk

# 4. Run TG2SIP

cp -f "$CWD/result-tg2sip-conf/etc/settings.ini" /tmp/tg2sip/settings.ini
( cd /tmp/tg2sip &&
while true ; do
mkdir /tmp/tg2sip || true
Expand Down

0 comments on commit 925f12f

Please sign in to comment.