From 52674dbd4d03161aba9cadb68f09b69fd71b8ecb Mon Sep 17 00:00:00 2001 From: EverythingWindows Date: Mon, 14 Nov 2022 19:55:48 +0700 Subject: All one-way commands are not separated into each own module --- ShiftOS-TheRevival/Terminal Applications/Internal/Com_Su.vb | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 ShiftOS-TheRevival/Terminal Applications/Internal/Com_Su.vb (limited to 'ShiftOS-TheRevival/Terminal Applications/Internal/Com_Su.vb') 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 -- cgit v1.2.3