mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-08-23 09:13:47 +08:00
dragonpilot 2022-12-30T07:51:42 for EON/C2
version: dragonpilot v0.9.1 beta for EON/C2 date: 2022-12-30T07:51:42 dp-dev(priv2) master commit: 4e8e00606410c2bbe03b93fc89a91caec37d1f3a
This commit is contained in:
@@ -20,10 +20,10 @@ if os.path.exists('/data/params/d/dp_atl'):
|
||||
atl_enabled = True
|
||||
|
||||
sspoof_enabled = False
|
||||
if os.path.exists('/data/params/d/dp_sspoof'):
|
||||
with open('/data/params/d/dp_sspoof') as f:
|
||||
if (int(f.read().strip())) != 0:
|
||||
sspoof_enabled = True
|
||||
# if os.path.exists('/data/params/d/dp_sspoof'):
|
||||
# with open('/data/params/d/dp_sspoof') as f:
|
||||
# if (int(f.read().strip())) != 0:
|
||||
# sspoof_enabled = True
|
||||
|
||||
if atl_enabled and sspoof_enabled and os.path.exists(TESTING_SSPOOF_FW_FN):
|
||||
DEFAULT_FW_FN = TESTING_SSPOOF_FW_FN
|
||||
|
||||
Reference in New Issue
Block a user