Skip to content

Commit

Permalink
Merge pull request #661 from andrey-utkin/fix-mysql-upgrade-3000011
Browse files Browse the repository at this point in the history
  • Loading branch information
curtishall authored Feb 15, 2024
2 parents fce49bc + 7b939fa commit 689f30f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions misc/sql/mysql-upgrade/3000011/ip_manufacturer_lookup.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash
# Enable live lookups of IP camera manufacturers (pulled from our API)

echo '
INSERT INTO `GlobalSettings` VALUES ('G_DATA_SOURCE','live');
' | mysql -h"$host" -D"$dbname" -u"$user" -p"$password"
echo "
INSERT INTO GlobalSettings VALUES ('G_DATA_SOURCE','live');
" | mysql -h"$host" -D"$dbname" -u"$user" -p"$password"

exit 0

0 comments on commit 689f30f

Please sign in to comment.