mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-21 23:46:18 -05:00
Only turning on hotspot while on-the-metal.
This commit is contained in:
parent
b431e1b753
commit
05265b526e
1 changed files with 3 additions and 2 deletions
5
main.py
5
main.py
|
|
@ -93,9 +93,10 @@ async def main(loop):
|
|||
tz = pytz.timezone(config.timezone)
|
||||
set_timezone(tz)
|
||||
|
||||
if config.hotspot_on_startup:
|
||||
# Hotspot/throttle are not supported in Docker containers.
|
||||
if not DOCKERIZED and config.hotspot_on_startup:
|
||||
admin.enable_hotspot()
|
||||
if config.throttle_on_startup:
|
||||
if not DOCKERIZED and config.throttle_on_startup:
|
||||
admin.throttle_cpu_on()
|
||||
|
||||
check_media_directory()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue