Fix Wrong Remote Name

Name of remote in pair.remote was "-e $remote"

Log: [2015-02-26 21:00:16] [  LOG]   remote: Remote '-e remoteXX' not known from mDNS, ignoring

Removing "-e" option works as expected.
This commit is contained in:
protree 2015-02-26 21:03:21 +01:00
parent 30b4d24afc
commit 5cea89a8d4

View File

@ -56,7 +56,7 @@ if [ -z "$pin" ]; then
fi
echo "Writing pair.remote to $library_path..."
echo -e "$remote\n$pin" > "$library_path/pair.remote"
echo "$remote\n$pin" > "$library_path/pair.remote"
sleep 1
echo "Removing pair.remote from library again..."
rm "$library_path/pair.remote"