Skip to content

Instantly share code, notes, and snippets.

View enryolto's full-sized avatar

Enrico enryolto

  • Italy
View GitHub Profile
@enryolto
enryolto / dlink932_motion_detection.sh
Created May 4, 2021 10:15
D-link 932L - shell script to enable, disable or verify status of motion detection
#!/bin/bash
OPERATION=""
IP_ADDRESS=""
DEFAULT_IP="192.168.1.8"
USERNAME=""
PASSWORD=""
USAGE="Usage: $0 <on|off|status> <username> <password> [ip_address]"
#Checks number of input parameters