Plan 9 from Bell Labs’s /usr/web/sources/contrib/yk/rd/.github/termrc.local
#!/bin/rc cd /rd mk $mktarget if(~ $status '') echo 0 > /rd/exitcode if not echo 1 > /rd/exitcode echo reboot > /dev/reboot