Add customizer.sh for IP camera settings (#143)
This script sets a custom upgrade URL for the IP camera and reboots the device to apply changes.
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#!/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/gk7205v200_otg_generic-nor.tgz'
|
||||
#
|
||||
#
|
||||
# Reboot so the environment and the inittab edit take effect.
|
||||
#
|
||||
(sleep 3 ; reboot -f) &
|
||||
#
|
||||
|
||||
exit 0
|
||||
Reference in New Issue
Block a user