Sercomm-API icon indicating copy to clipboard operation
Sercomm-API copied to clipboard

Config script in bash

Open Tb7386 opened this issue 6 years ago • 0 comments

Hey, It's a bash script to get IPCAM config and setup IPCAM with the same file. The config file must be modify with API instruction.

usage: ./test.sh {get|set}

GET : read and save camera's config in ./config.ini file CAUTION : GET usage erase ./config.ini file if exist SET : read ./config.ini file and set camera's config

Options : -u or --user : set user of IP camera Default is administrator -p or --password : set user's password of IP camera Default is aVYv6m2TAV5gFi65 -h or --host : set IP or DNS name of IP camera Default is 192.168.12.14 -i or --input : set configuration file to set IP camera's config Default is ./config.ini -o or --output : set file to save IP camera's config Default is ./config.ini -s or --section : set only one section of config (eg : MOTION) Default is ALL --help : display this help menu

Tb7386 avatar Jan 07 '20 22:01 Tb7386