From 4b594cde4f0f4d5af2345655095c9db16f883ffe Mon Sep 17 00:00:00 2001 From: iamromulan <50184035+iamromulan@users.noreply.github.com> Date: Fri, 5 Jan 2024 18:05:47 -0500 Subject: [PATCH] Update beta.sh Add missing functions --- beta.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/beta.sh b/beta.sh index a27cbb4..81794d3 100644 --- a/beta.sh +++ b/beta.sh @@ -82,6 +82,16 @@ send_at_commands() { fi } +# Function to remount file system as read-write +remount_rw() { + mount -o remount,rw / +} + +# Function to remount file system as read-only +remount_ro() { + mount -o remount,ro / +} + # Check if AT Telnet Daemon is installed is_at_telnet_installed() { [ -d "$MICROPYTHON_DIR" ] && return 0 || return 1