-
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add customizer for qtech-qvc-ipc-136w
- Loading branch information
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
28 changes: 28 additions & 0 deletions
28
devices/hi3518ev200_lite_qtech-qvc-ipc-136w/general/overlay/usr/share/openipc/customizer.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/bin/sh | ||
# | ||
# Perform basic settings on a known IP camera | ||
# | ||
# | ||
# Set custom upgrade url | ||
# | ||
fw_setenv upgrade 'https://github.com/OpenIPC/builder/releases/download/latest/hi3518ev200_lite_qtech-qvc-ipc-136w-nor.tgz' | ||
# | ||
# | ||
# Set custom majestic settings | ||
# | ||
cli -s .system.staticDir /var/www/majestic | ||
cli -s .nightMode.enabled true | ||
cli -s .nightMode.irCutPin1 48 | ||
cli -s .nightMode.irCutPin2 47 | ||
cli -s .nightMode.backlightPin 59 | ||
cli -s .audio.speakerPin 53 | ||
cli -s .video0.codec h264 | ||
# | ||
# | ||
# Set wlan device and credentials if need | ||
# | ||
fw_setenv wlandev rtl8188eu-hi3518ev200-qvc-ipc-136w | ||
#fw_setenv wlanssid Router | ||
#fw_setenv wlanpass 12345678 | ||
|
||
exit 0 |