From 721c08b18520fa629acede05e87e108f3ac30cd5 Mon Sep 17 00:00:00 2001 From: Simone <26844016+simonebortolin@users.noreply.github.com> Date: Sun, 12 Feb 2023 13:33:11 +0100 Subject: hotfix root v2 (#150) Co-authored-by: Simone Bortolin --- _ont/ont-huawei-ma5671a-root.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to '_ont') diff --git a/_ont/ont-huawei-ma5671a-root.md b/_ont/ont-huawei-ma5671a-root.md index ad4115c..0fbf987 100644 --- a/_ont/ont-huawei-ma5671a-root.md +++ b/_ont/ont-huawei-ma5671a-root.md @@ -84,8 +84,7 @@ try: ser.write('setenv asc0 0\n'.encode()) time.sleep(1) print('[+] Transfer command sequence 4') - ser.write( - 'gpio set 3;gpio input 2;gpio input 105;gpio input 106;gpio input 107;gpio input 108"\n'.encode()) + ser.write('setenv preboot "gpio set 3;gpio input 2;gpio input 105;gpio input 106;gpio input 107;gpio input 108"\n'.encode()) time.sleep(1) print('[+] Transfer command sequence 5') ser.write('saveenv\n'.encode()) -- cgit v1.2.3