interplane.Get Omega
Read in your language

aienux

Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.

Brought by drakestapleton

branch main Branches Tags History

aienux / evidence / own-gpu-driver / rung0 / wait-then-window.sh

6 lines · 387 bytes Raw Blame History
1#!/usr/bin/env bash
2# L332 rung 0: wait (5 min polls of a file, no locks held) until the coordinator's chip reservation is gone or names L332, then run window.sh.
3here=$(cd "$(dirname "$0")" && pwd)
4RES=$HOME/.local/state/aien-coordinator/CHIP-RESERVED
5while [ -f "$RES" ] && ! head -1 "$RES" | cut -d"(" -f1 | tr " " "\n" | grep -qx L332; do sleep 300; done
6exec bash "$here/window.sh"