-
Notifications
You must be signed in to change notification settings - Fork 4
Update history
CYRO4S edited this page Jun 3, 2017
·
13 revisions
- Command parameters now can be correctly passed to the generated script file.
- Short OS version of Ubuntu can be correctly fetched.
- You can now use
uls --echo
to print the value of specified ULS keyword.
- You can now use
sys.osbase
to determine which os is your Linux distribution based on.
eg: Debian/Ubuntu/Elementary/Kali/Raspbian returns"debian"
RedHat/CentOS/Fedora returns"redhat"
- You can now use
sys.ver
to get simplified Linux distribution version.
eg:Debian:"8"
, CentOS:"7"
, Ubuntu:"16"
- You can now use
net.localip
to get your local IPv4 address. - You can now use
net.mac
to get your MAC address. - Check for Internet connection before doing the update.
- ULS will return what the converted shell script returns.
- ULS now supports ULS scripts executing in non-root environment.
uls --getinfo
&uls --update
still need root. You may run them with "sudo" - Fixed a bug ULS may remove itself if an error occurred when updating.
- Now using Python's "tempfile" module instead of creating temporary file in "/tmp/"
You can now update ULS to the latest version by using uls --update
command.
pkg.update
statement is now redefined.
Add "sys.root" variable support.
You can now easily using this variable to check if the script is run as root.
Remove "pkg.purge" statement support.
apt-get purge is only supported by Debian or Debian-based OS. Use apt-get purge directly in ULS instead of pkg.purge.
Initial commit. ULS is now available for using.