aboutsummaryrefslogtreecommitdiff
path: root/system/post-setup.lua
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@gmail.com>2019-03-06 15:04:04 -0500
committerAndrew Lee <alee14498@gmail.com>2019-03-06 15:04:04 -0500
commit34e25ebda57a7f5a4f28d0ff923ae27daf5c68b2 (patch)
tree1e1e4ef27a885e8602ab9941e7b98a16f3aa0d8a /system/post-setup.lua
parentab94bab7e3d45b58084388b0cd5d247790a00005 (diff)
downloadbits-UI-34e25ebda57a7f5a4f28d0ff923ae27daf5c68b2.tar.gz
bits-UI-34e25ebda57a7f5a4f28d0ff923ae27daf5c68b2.tar.bz2
bits-UI-34e25ebda57a7f5a4f28d0ff923ae27daf5c68b2.zip
Another big change!
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