xref: /plan9/sys/lib/dist/pc/inst/halt (revision 3c936747843b9db345fc9f4c2e2a471c7cbb2bfe)
1#!/bin/rc
2
3echo -n 'Halting file systems...'
4
5if(ps | grep -s ' venti$')
6	venti/sync -h tcp!127.0.0.1!17034
7if(ps | grep -s ' fossil$'){
8	echo fsys all halt >>/srv/fscons
9	slay fossil|rc
10}
11
12echo done
13echo
14echo Remember to take the install disk out of the drive.
15echo Feel free to turn off your computer.
16while()
17	sleep 3600
18
19