Skip to content

Commit aba4eca

Browse files
authored
Merge pull request #627 from jedgarpark/pyportal-adding-unsafeboots
Adding unsafe_boot.py to pyportal image projects
2 parents e8aee55 + bed2b0f commit aba4eca

4 files changed

Lines changed: 40 additions & 0 deletions

File tree

PyPortal_Cutefuzz/unsafe_boot.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import time
2+
import storage
3+
4+
print("**************** WARNING ******************")
5+
print("Using the filesystem as a write-able cache!")
6+
print("This is risky behavior, backup your files!")
7+
print("**************** WARNING ******************")
8+
9+
storage.remount("/", disable_concurrent_write_protection=True)
10+
time.sleep(5)
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import time
2+
import storage
3+
4+
print("**************** WARNING ******************")
5+
print("Using the filesystem as a write-able cache!")
6+
print("This is risky behavior, backup your files!")
7+
print("**************** WARNING ******************")
8+
9+
storage.remount("/", disable_concurrent_write_protection=True)
10+
time.sleep(5)

PyPortal_NewNewNew/unsafe_boot.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import time
2+
import storage
3+
4+
print("**************** WARNING ******************")
5+
print("Using the filesystem as a write-able cache!")
6+
print("This is risky behavior, backup your files!")
7+
print("**************** WARNING ******************")
8+
9+
storage.remount("/", disable_concurrent_write_protection=True)
10+
time.sleep(5)
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import time
2+
import storage
3+
4+
print("**************** WARNING ******************")
5+
print("Using the filesystem as a write-able cache!")
6+
print("This is risky behavior, backup your files!")
7+
print("**************** WARNING ******************")
8+
9+
storage.remount("/", disable_concurrent_write_protection=True)
10+
time.sleep(5)

0 commit comments

Comments
 (0)