mirror of
https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks.git
synced 2025-09-08 15:10:45 +02:00
Disabling SSL / path corrections / misc changes (#1307)
* Disabling SSL / path corrections / misc changes Lighttpd.conf.dist: Added notes for disabling SSL SSL left as on by default Motion.conf.dist: Change pattern to make more sense when items are listed in explorer Change paths case resolv.cont.dist: Added public nameservers so that NTP will work by default rtspserver.conf.dist: Added missing settings that are created after UI page is saved anyway sendmail.conf.dist: Clarify AUTH entry to match rest of example recording: Add Recording to path to help seperate/categorise files Add sub dir with date for faster dir loading Change from MOV to REC to identify video as "recorting" type detectionON.sh: Change group/file pattern to make list better/consistent telegram-bot...: Remove blank line timelapse.sh: Change path variable name to match rest of code Add sub directories to help with loaading/filtering of files * Update resolv.conf.dist Commented out Publin DNS servers as requested Co-authored-by: Steven McCombie <smccombie@fugnet.servegame.com>
This commit is contained in:
@@ -58,9 +58,9 @@ snapshot_tempfile=$(mktemp /tmp/snapshot-XXXXXXX)
|
||||
video_tempfile=$(mktemp /tmp/video-XXXXXXX)
|
||||
|
||||
# Prepare filename, save datetime ASAP
|
||||
group_pattern="${group_date_pattern:-+%d-%m-%Y}"
|
||||
group_pattern="${group_date_pattern:-+%Y-%m-%d}"
|
||||
groupname=$(date "$group_pattern")
|
||||
filename_pattern="${file_date_pattern:-+%d-%m-%Y_%H.%M.%S}"
|
||||
filename_pattern="${file_date_pattern:-+%Y-%m-%d_%H-%M-%S}"
|
||||
filename=$(date "$filename_pattern")
|
||||
|
||||
# First, take a snapshot (always)
|
||||
|
Reference in New Issue
Block a user