aboutsummaryrefslogtreecommitdiff
path: root/system/post-setup.lua
diff options
context:
space:
mode:
Diffstat (limited to 'system/post-setup.lua')
-rw-r--r--system/post-setup.lua14
1 files changed, 12 insertions, 2 deletions
diff --git a/system/post-setup.lua b/system/post-setup.lua
index 9328a58..78a80d1 100644
--- a/system/post-setup.lua
+++ b/system/post-setup.lua
@@ -13,6 +13,10 @@
GNU General Public License for more details.
]]--
+--local passwd = read()
+--local passPath = "/etc/passwd.pwd"
+os.loadAPI("/system/apis/sha256.lua")
+
term.clear()
term.setCursorPos(1,1)
term.setTextColor(colors.white)
@@ -27,7 +31,13 @@ else
print("[ERROR] Unable to find README.txt...")
end
-print("Welcome to the setup!")
+if fs.exists("/system/skel/.background") then
+ shell.run("copy", "/system/skel/.background", "/home")
+else
+ print("[ERROR] Unable to find the background...")
+end
+
+--print("Welcome to the setup! This feature will be not be in Alpha 2")
-sleep(3)
+sleep(1)
shell.run("/system/desktop.lua") \ No newline at end of file