aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS-TheRevival/Terminal Applications/Internal/Com_Su.vb
diff options
context:
space:
mode:
authorEverythingWindows <[email protected]>2022-11-14 19:55:48 +0700
committerEverythingWindows <[email protected]>2022-11-14 19:55:48 +0700
commit52674dbd4d03161aba9cadb68f09b69fd71b8ecb (patch)
treeafe00cdce077273fbe537f973696e3f3c84299e7 /ShiftOS-TheRevival/Terminal Applications/Internal/Com_Su.vb
parent75ae158b14df32ef41cebfce664dc5d0c50104f3 (diff)
downloadshiftos-therevival-old-52674dbd4d03161aba9cadb68f09b69fd71b8ecb.tar.gz
shiftos-therevival-old-52674dbd4d03161aba9cadb68f09b69fd71b8ecb.tar.bz2
shiftos-therevival-old-52674dbd4d03161aba9cadb68f09b69fd71b8ecb.zip
All one-way commands are not separated into each own module
Diffstat (limited to 'ShiftOS-TheRevival/Terminal Applications/Internal/Com_Su.vb')
-rw-r--r--ShiftOS-TheRevival/Terminal Applications/Internal/Com_Su.vb10
1 files changed, 10 insertions, 0 deletions
diff --git a/ShiftOS-TheRevival/Terminal Applications/Internal/Com_Su.vb b/ShiftOS-TheRevival/Terminal Applications/Internal/Com_Su.vb
new file mode 100644
index 0000000..2602187
--- /dev/null
+++ b/ShiftOS-TheRevival/Terminal Applications/Internal/Com_Su.vb
@@ -0,0 +1,10 @@
+Module Com_Su
+ Public Sub Terminal_Su()
+ If Strings.OnceInfo(0) = "Yes" Then
+ NewLine("You already in root mode!")
+ Else
+ Strings.OnceInfo(0) = "Yes"
+ Terminal_AssignPrompt()
+ End If
+ End Sub
+End Module