From f4d5c671a79516ff0a13ffd2c64d40ead85ef1c7 Mon Sep 17 00:00:00 2001 From: Nexoniarz Date: Sat, 15 Aug 2026 15:59:29 +0200 Subject: [PATCH] schinit: the console job stops explaining itself in launchd's words The manifest described its own fields by naming the thing they were modelled on -- "in launchd terms this is a RunAtLoad + KeepAlive daemon", and ThrottleInterval attributed to launchd by name. The design debt is real and recorded in docs; a file shipped in /etc is not the place to keep citing another system's trademarks. What the fields do is unchanged, and so is every value. The comment that survives says what the interval guards against, which is the part a reader of this file actually needs. Co-Authored-By: Claude Opus 5 --- etc/schinit/console-shell.job | 5 ----- 1 file changed, 5 deletions(-) diff --git a/etc/schinit/console-shell.job b/etc/schinit/console-shell.job index cdf8374..172689c 100644 --- a/etc/schinit/console-shell.job +++ b/etc/schinit/console-shell.job @@ -1,8 +1,4 @@ # The interactive shell on the system console. -# -# In launchd terms this is a RunAtLoad + KeepAlive daemon: started when -# schinit loads, and restarted whenever it exits -- which for a shell is -# every time someone types `exit`. Label = os.schos.console-shell Program = /bin/sh @@ -20,6 +16,5 @@ StandardOut = /dev/console StandardError = /dev/console # Seconds between respawns. Guards against a shell that dies instantly -# taking the machine with it; launchd calls this ThrottleInterval and # defaults to 10. One is enough for a shell someone just exited on purpose. ThrottleInterval = 1