Posted 20 February 2012 - 08:45 PM
Minenix is alittle project I have been working on to add alittle more functionality to CraftOS. So far Minenix add systems variables, user accounts and a login menu to CraftOS. Minenix sets the program path to "/bin" so you can easily install programs, and it loads any api in the "/lib" so you can easily install apis. All system data is kept in the "/data" folder and "/home" is used for a place to put users home directory
Download Minenix install floppy
Added programs:
[indent=1]export: export system variable <variable name> <variable value>[/indent]
[indent=1]deletevar: deletes system variable <variable name>[/indent]
[indent=1]viewvars: show all current system variables[/indent]
[indent=1]logout: logs current user out and sets user variables to blank[/indent]
[indent=1]echo: prints first argument passed[/indent]
[indent=1]adduser: adds a new user <username>[/indent]
[indent=1]deluser: remove user <username>[/indent]
Added apis:
[indent=1]users: functions for handling all user stuff[/indent]
[indent=1]setvar: functions for handling system variables[/indent]
[indent=1]encrypt: a quick function I made for encrypting passwords *not a really good way to encrypt[/indent]
Image of install floppy
Image of using variables
Download Minenix install floppy
Added programs:
[indent=1]export: export system variable <variable name> <variable value>[/indent]
[indent=1]deletevar: deletes system variable <variable name>[/indent]
[indent=1]viewvars: show all current system variables[/indent]
[indent=1]logout: logs current user out and sets user variables to blank[/indent]
[indent=1]echo: prints first argument passed[/indent]
[indent=1]adduser: adds a new user <username>[/indent]
[indent=1]deluser: remove user <username>[/indent]
Added apis:
[indent=1]users: functions for handling all user stuff[/indent]
[indent=1]setvar: functions for handling system variables[/indent]
[indent=1]encrypt: a quick function I made for encrypting passwords *not a really good way to encrypt[/indent]
Image of install floppy
Spoiler
Image of using variables