mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-25 17:36:18 -05:00
Merge pull request #122 from lrnselfreliance/bugfix/119-disable-startup-hotspot-docker
Only turning on hotspot while on-the-metal.
This commit is contained in:
commit
20849017a5
2 changed files with 4 additions and 3 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()
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
__version__ = '0.4.4-beta'
|
||||
__version__ = '0.4.5-beta'
|
||||
|
||||
import subprocess
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue