mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-08-22 13:47:29 +02:00
Improve function name
This commit is contained in:
parent
31dd1c2c78
commit
b399ac13ad
@ -50,7 +50,7 @@ function set_libva_version() {
|
|||||||
export LIBAVFORMAT_VERSION_MAJOR
|
export LIBAVFORMAT_VERSION_MAJOR
|
||||||
}
|
}
|
||||||
|
|
||||||
function migrate_from_homeassistant_config() {
|
function migrate_addon_config_dir() {
|
||||||
if ! mountpoint --quiet /homeassistant_config; then
|
if ! mountpoint --quiet /homeassistant_config; then
|
||||||
# Not running as a Home Assistant add-on
|
# Not running as a Home Assistant add-on
|
||||||
return 0
|
return 0
|
||||||
@ -98,7 +98,7 @@ function migrate_from_homeassistant_config() {
|
|||||||
mv -vf "${old_config_file}" "${new_config_file}"
|
mv -vf "${old_config_file}" "${new_config_file}"
|
||||||
}
|
}
|
||||||
|
|
||||||
migrate_from_homeassistant_config
|
migrate_addon_config_dir
|
||||||
|
|
||||||
set_libva_version
|
set_libva_version
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user