mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-24 11:46:30 +00:00
add password hook for motioneye
This commit is contained in:
parent
00a6a11c8b
commit
20efa99d61
@ -21,4 +21,5 @@ enable_update true
|
||||
smtp_timeout 60
|
||||
zip_timeout 500
|
||||
add_remove_cameras true
|
||||
password_hook /usr/libexec/meyepasswd
|
||||
|
||||
|
5
board/common/overlay/usr/libexec/meyepasswd
Executable file
5
board/common/overlay/usr/libexec/meyepasswd
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
test "$MEYE_USERNAME" == "admin" || exit 0
|
||||
PASSWORD="$MEYE_PASSWORD" /usr/sbin/adminpasswd
|
||||
|
Loading…
x
Reference in New Issue
Block a user