Add customizer.sh for uniview-c1l-2wn-g

This commit is contained in:
Signor Pellegrino (from Citadel PC)
2023-12-05 20:29:26 +03:00
parent aa92a2295a
commit 3b77702954

View File

@@ -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/ssc335de_lite_uniview-c1l-2wn-g-nor.tgz'
#
#
# Set custom majestic settings
#
cli -s .system.staticDir /var/www/majestic
cli -s .nightMode.enabled true
cli -s .nightMode.irCutPin1 61
cli -s .nightMode.irCutPin2 79
cli -s .nightMode.backlightPin 4
cli -s .audio.speakerPin 0
cli -s .video0.codec h264
#
#
# Set wlan device and credentials if need
#
fw_setenv wlandev rtl8188fu-ssc335de-uniview-c1l-2wn-g
#fw_setenv wlanssid Router
#fw_setenv wlanpass 12345678
exit 0