27 lines
579 B
JavaScript
27 lines
579 B
JavaScript
homePW = #envar homePW
|
|
doomKey = #envar doomKey
|
|
|
|
doomPath = "/root/doom"
|
|
myShell = get_shell("root", homePW)
|
|
|
|
if not myShell then print("Unable to get root shell\n")
|
|
|
|
i = 0
|
|
while i < 4
|
|
myShell.start_terminal
|
|
wait 2
|
|
i = i + 1
|
|
end while
|
|
i = 0
|
|
|
|
// Debug for my own curiosity
|
|
somePath = launch_path
|
|
print("\n<b> Debug log: <b>\n Parent path: " + parent_path(somePath))
|
|
|
|
|
|
myShell.launch("/usr/bin/Chat.exe")
|
|
myShell.launch("/usr/bin/AdminMonitor.exe")
|
|
myShell.launch("/usr/bin/FileExplorer.exe")
|
|
myShell.launch("/usr/bin/Mail.exe")
|
|
myShell.launch("/usr/bin/Notepad.exe")
|