Add no-posix files.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
"""
|
||||
Install script for the Python jailer.
|
||||
Version: 0.2.0-alpha2
|
||||
Version: 0.2.0-alpha1
|
||||
"""
|
||||
import os
|
||||
import shutil
|
||||
@@ -43,7 +43,7 @@ if setup_posix.lower() == "y":
|
||||
with open("./lib64", "a+") as f:
|
||||
f.write("symlnk /usr/lib64/")
|
||||
f.close()
|
||||
with open("./usr/bin/sh", "a+") as f:
|
||||
with open("./usr/bin/sh.py", "a+") as f:
|
||||
f.write("symlnk /usr/bin/shell.py")
|
||||
f.close()
|
||||
os.mkdir("./sys")
|
||||
@@ -85,4 +85,4 @@ else:
|
||||
f.write(usrname)
|
||||
f.close()
|
||||
print("Install completed! Run ./main.py to start the kernel!")
|
||||
input("Press <Enter> to exit! ")
|
||||
input("Press <Enter> to exit! ")
|
Reference in New Issue
Block a user