- Many fixes to sourcing, now will always resolve to base dir.

- All scripts are again `sh` compatible.
- Binbox overhaul, symlinks finally work just like `busybox`.
- Error checking to some files like `sw` and `own`.
TODO: Make it pretty and make `short` already.
This commit is contained in:
Sam Hardeman 2025-09-22 08:34:50 +02:00
parent b5c8a3f894
commit 0912f2d3d4
13 changed files with 1143 additions and 33 deletions

8
calm
View file

@ -1,5 +1,4 @@
#!/bin/bash
#LACKSETUP
#!/bin/sh
# Calm a process down
# NEEDS_WORK: cleanup
# calm <pid> == only one process
@ -8,7 +7,12 @@
# calm <pid> <bin> .... OK
# set's NICE value to 0
# need sudo
DAISY_INTERNAL=1
. $(dirname $(realpath $0))/daisy.source
PIDS=$@
errorFn()
{
echo calm: Invalid operation or no such PID/process \(\"$(echo "$PIDS" | tr '\n' ' ' | cut -c -20)...\"\)