summaryrefslogtreecommitdiff
path: root/misc/scripts/ipcam_capture_restart.sh
blob: 85144da11298e43b6999a03155ac0af6e517265e (plain)
1
2
3
4
5
6
7
#!/bin/bash

for f in $(ls /etc/ipcam_capture.conf.d/ | xargs); do
        camera="${f/.conf/}"
        echo "restarting $camera"
        systemctl restart ipcam_capture@${camera}
done