3 ms·
Enjoy some more manual pages in the same vein: * http://jdebp.uk./Softwares/nosh/guide/commands/monitored-fsck.xml http://jdebp.uk./Softwares/nosh/guide/comman
by JdeBP 7y ago
Enjoy some more manual pages in the same vein:
* http://jdebp.uk./Softwares/nosh/guide/commands/monitored-fsck.xml http://jdebp.uk./Softwares/nosh/guide/commands/monitored-fsc...
* http://jdebp.uk./Softwares/nosh/guide/commands/monitor-fsck-progress.xml http://jdebp.uk./Softwares/nosh/guide/commands/monitor-fsck-...
And a service:
% system-control print-service-scripts monitor-fsck-progress
start:#!/bin/nosh
start:true
stop:#!/bin/nosh
stop:true
run:#!/bin/nosh
run:#local socket used for monitor-fsck-progress
run:local-stream-socket-listen --systemd-compatibility --backlog 2 --mode 0644 /run/fsck.progress
run:setsid
run:setlogin -- daemon
run:vc-get-tty console
run:fdmove -c 4 2
run:open-controlling-tty
run:fdmove 2 4
run:setuidgid -- daemon
run:./service
service:#!/bin/nosh
service:#fsck combined progress information displayed on /dev/console
service:monitor-fsck-progress
restart:#!/bin/sh
restart:exec false # ignore script arguments
%