Skip to content

Commit bed2b0f

Browse files
committed
Adding unsafe_boot.py to pyportal image projects
1 parent e8aee55 commit bed2b0f

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)