edit zmupdate function in init script
Noticed the init script was looking for a zm_update, which doesn't exist. My best guess is that this should be changed to zmupdate.pl. This causes zoneminder to reload its configuration from the database prior to startup. Thoughts?
This commit is contained in:
parent
3afad1a0a8
commit
2f456967f4
|
@ -81,8 +81,8 @@ zmstatus()
|
|||
|
||||
zmupdate()
|
||||
{
|
||||
if [ -x $ZM_PATH_BIN/zm_update ]; then
|
||||
$ZM_PATH_BIN/zm_update -f
|
||||
if [ -x $ZM_PATH_BIN/zmupdate.pl ]; then
|
||||
$ZM_PATH_BIN/zmupdate.pl -f
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue