mirror of
https://github.com/nikdoof/builder.git
synced 2025-12-13 23:52:17 +00:00
35 lines
720 B
Bash
35 lines
720 B
Bash
#!/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/gk7102ca_lite-umea-qc01x-nor.tgz'
|
|
#
|
|
#
|
|
# Set custom majestic settings
|
|
#
|
|
#cli -s .system.webAdmin disabled
|
|
#cli -s .system.staticDir /var/www/majestic
|
|
#cli -s .nightMode.enabled true
|
|
#cli -s .nightMode.irSensorPin 23
|
|
#cli -s .nightMode.irCutPin1 17
|
|
#cli -s .nightMode.irCutPin2 14
|
|
#cli -s .nightMode.backlightPin 24
|
|
#cli -s .audio.speakerPin 12
|
|
#cli -s .video0.codec h264
|
|
#
|
|
#
|
|
# Set wlan device and credentials if need
|
|
#
|
|
#fw_setenv wlandev rda-generic
|
|
#fw_setenv wlanssid Router
|
|
#fw_setenv wlanpass 12345678
|
|
#
|
|
#
|
|
# reset gpio - 16
|
|
# wifi gpio - 4
|
|
#
|
|
exit 0
|