aienux
Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.
Brought by drakestapleton
aienux / evidence / own-gpu-driver / rung2 / window-boot / aien-gpu-window-lease.service
| 1 | # Inert on every normal boot. In the window boot (aien.gpuwindow=1) it reboots the box 25 minutes after start, which |
| 2 | # returns to the default GRUB entry with NVIDIA's driver (L405 caps leases at 20 min; 5 min margin for the restore). |
| 3 | # window*-post.sh logs and may stop it only to reboot sooner; nobody extends it without the coordinator. |
| 4 | [Unit] |
| 5 | Description=AIEN GPU window: lease, reboot to the default (NVIDIA) entry after 25 min |
| 6 | ConditionKernelCommandLine=aien.gpuwindow=1 |
| 7 | |
| 8 | [Service] |
| 9 | Type=simple |
| 10 | ExecStart=/bin/sh -c 'sleep 1500; logger -t aien-gpu-window "lease expired: rebooting to the default entry"; systemctl reboot' |
| 11 | |
| 12 | [Install] |
| 13 | WantedBy=multi-user.target |