aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/factotum/testsetup
blob: 2f9f9b1d80dee38976f76647d3257f6ca1ae5ca0 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/rc

slay 8.out|rc
8.out $* -s fact.s -m /n/kremvax
8.out $* -s fact.c
ramfs -m /n/sid >[2]/dev/null
auth/aescbc -d < /usr/rsc/lib/factotum.aes >/n/sid/all
read -m /n/sid/all >/n/kremvax/factotum/ctl
read -m /n/sid/all >/mnt/factotum/ctl
unmount /n/sid