summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [fs/path] Use bc for mathv28Simon Rettberg2021-05-071-5/+9
| | | | | Some awk versions use ugly formatting (scientific notion) for large numbers, which breaks any further handling of thise numbers in scripts.
* [cert] Only import hashed symlink certs into nssdbSimon Rettberg2021-03-101-1/+1
| | | | This makes sure we don't import duplicates, or the cert bundle etc.
* Remember if we were sourced and don't do it againSimon Rettberg2021-02-091-0/+3
| | | | | Sourcing slx-tools again would overwrite all already pulled in functions with their respective stubs again, so prevent that from happening.
* [cert] New module for doing stuff with certificatesSimon Rettberg2021-02-081-0/+29
| | | | | Add cert_to_nssdb: Add one or more certificates to an nssdb database.
* [ini] New moduleSimon Rettberg2021-01-131-0/+11
|
* [dev] More sanity checks, fallback to GPT if MBR yields nothingSimon Rettberg2020-10-071-36/+49
|
* [dev] Add commentsSimon Rettberg2020-10-071-4/+20
|
* [dev] Implement raw partition scanner (MBR+GPT)Simon Rettberg2020-10-072-20/+137
| | | | | | | | | | Relying in udev has proven unsuitable time and time again. Sometimes after switchroot, it loses information about partitions that was already present in the initramfs. When an MBR partition contains a filesystem that is larger than the partition, the udev info is missing the MBR partition type from its output (observed with NTFS at least). As the kernel doesn't expose the mbr type and gpt type GUID directly in sysfs, we implement our own crude MBR and GPT parsers. In ash.
* Add net module (net_resolve_v4 for now)v27Simon Rettberg2019-10-281-0/+9
|
* Add mem moduleSimon Rettberg2019-10-281-0/+25
|
* consider network shares in fs_path_isvolatileJonathan Bauer2019-10-161-1/+9
|
* Add fs_path_ismountpointSimon Rettberg2019-07-021-0/+6
|
* Exclude functions with wrong prefix; list available functionsSimon Rettberg2019-06-142-2/+10
| | | | Invoking slx-tools without arguments lists available functions now.
* Fix typoSimon Rettberg2019-05-281-1/+1
|
* Add String and XML helpersSimon Rettberg2019-05-273-0/+37
|
* Add download and download_retrySimon Rettberg2019-05-271-0/+10
|
* ModularizeSimon Rettberg2019-05-276-69/+121
|
* Match proper fieldSimon Rettberg2019-04-051-1/+1
|
* Refactor, rename, break thingsSimon Rettberg2019-04-051-47/+129
|
* Invert logic and use || for $x = ${x#<prefix>} checksSimon Rettberg2019-03-151-3/+3
| | | | | | | This makes it so that if $x starts with <prefix>, the statement after the condition is executed, which seems easier to read. i.e. [ "$x" = "${x#abc}" ] || echo "x starts with abc"
* Simplify checks, consider zram as volatile tooSimon Rettberg2019-03-151-6/+6
|
* fix search/replace for ashJonathan Bauer2019-02-271-3/+5
|
* improvements & bug fixesJonathan Bauer2019-02-271-11/+30
|
* initial collections of beta functionsJonathan Bauer2019-02-181-0/+77
|
* initial commitJonathan Bauer2019-02-181-0/+1