Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Shuudoushi/SecureOS
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 7cd7892549a4
Choose a base ref
...
head repository: Shuudoushi/SecureOS
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: cc9f688a30ad
Choose a head ref
  • 1 commit
  • 5 files changed
  • 1 contributor

Commits on Jul 24, 2015

  1. Copy the full SHA
    cc9f688 View commit details
Showing with 4 additions and 21 deletions.
  1. 0 bin/{usage.lua → df.lua}
  2. +1 −7 boot/94_shell.lua
  3. +2 −0 boot/99_login.lua
  4. +1 −2 tmp/update-tmp.lua
  5. +0 −12 usr/man/usage
File renamed without changes.
8 changes: 1 addition & 7 deletions boot/94_shell.lua
Original file line number Diff line number Diff line change
@@ -14,14 +14,8 @@ shell.setAlias("view", "edit -r")
shell.setAlias("help", "man")
shell.setAlias("?", "man")
shell.setAlias("cp", "cp -i")
shell.setAlias("usage", "/bin/usage.lua")
shell.setAlias("df", "usage")
shell.setAlias("logout", "/bin/logout.lua")
shell.setAlias("update", "/bin/update.lua")
shell.setAlias("adduser", "/bin/adduser.lua")
shell.setAlias("deluser", "/bin/deluser.lua")
shell.setAlias("usage", "df")
shell.setAlias("rmuser", "deluser")
shell.setAlias("passwd", "/bin/passwd.lua")
shell.setAlias("reboot", "shutdown -r")
shell.setAlias("sudo", "/root/sudo.lua")
shell.setAlias("su", "/root/su.lua")
2 changes: 2 additions & 0 deletions boot/99_login.lua
Original file line number Diff line number Diff line change
@@ -44,6 +44,8 @@ while running do
hn:close()
os.setenv("HOME", "/home/" .. username)
os.setenv("USER", "/home/" .. username)
os.setenv("PATH", "/bin:/usr/bin:/home/".. username .."/bin:.")

end
term.clear()
term.setCursor(1,1)
3 changes: 1 addition & 2 deletions tmp/update-tmp.lua
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@ end
shell.execute("wget -f https://raw.githubusercontent.com/Shuudoushi/SecureOS/" .. textu .. "/boot/99_login.lua /boot/99_login.lua \n")
shell.execute("wget -f https://raw.githubusercontent.com/Shuudoushi/SecureOS/" .. textu .. "/root/sudo.lua /root/sudo.lua \n")
shell.execute("wget -f https://raw.githubusercontent.com/Shuudoushi/SecureOS/" .. textu .. "/bin/logout.lua /bin/logout.lua \n")
shell.execute("wget -f https://raw.githubusercontent.com/Shuudoushi/SecureOS/" .. textu .. "/bin/usage.lua /bin/usage.lua \n")
shell.execute("wget -f https://raw.githubusercontent.com/Shuudoushi/SecureOS/" .. textu .. "/bin/df.lua /bin/df.lua \n")
shell.execute("wget -f https://raw.githubusercontent.com/Shuudoushi/SecureOS/" .. textu .. "/bin/adduser.lua /bin/adduser.lua \n")
shell.execute("wget -f https://raw.githubusercontent.com/Shuudoushi/SecureOS/" .. textu .. "/bin/deluser.lua /bin/deluser.lua \n")
shell.execute("wget -f https://raw.githubusercontent.com/Shuudoushi/SecureOS/" .. textu .. "/lib/sha256.lua /lib/sha256.lua \n")
@@ -23,7 +23,6 @@ shell.execute("wget -f https://raw.githubusercontent.com/Shuudoushi/SecureOS/" .
shell.execute("wget -f https://raw.githubusercontent.com/Shuudoushi/SecureOS/" .. textu .. "/.osprop /.osprop \n")
shell.execute("wget -f https://raw.githubusercontent.com/Shuudoushi/SecureOS/" .. textu .. "/etc/motd /etc/motd \n")
shell.execute("wget -f https://raw.githubusercontent.com/Shuudoushi/SecureOS/" .. textu .. "/usr/man/update /usr/man/update \n")
shell.execute("wget -f https://raw.githubusercontent.com/Shuudoushi/SecureOS/" .. textu .. "/usr/man/usage /usr/man/usage \n")
shell.execute("wget -f https://raw.githubusercontent.com/Shuudoushi/SecureOS/" .. textu .. "/usr/man/adduser /usr/man/adduser \n")
shell.execute("wget -f https://raw.githubusercontent.com/Shuudoushi/SecureOS/" .. textu .. "/usr/man/deluser /usr/man/deluser \n")
shell.execute("wget -f https://raw.githubusercontent.com/Shuudoushi/SecureOS/" .. textu .. "/usr/man/passwd /usr/man/passwd \n")
12 changes: 0 additions & 12 deletions usr/man/usage

This file was deleted.