Skip to content
This repository has been archived by the owner on Nov 11, 2022. It is now read-only.

Config script in bash #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Config script in bash #15

wants to merge 1 commit into from

Conversation

Tb7386
Copy link

@Tb7386 Tb7386 commented Jan 7, 2020

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

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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant