#!/bin/rc rfork en if(~ $service cpu) bind -b '#S' /dev if(~ $#2 1) sd=$2 if not sd=`{echo $bootargs|sed 's/^.*!//g'} switch($1){ case -r cmd='tput <'$"sd echo $"cmd eval $"cmd case -w cmd='tput -p /tmp/dtest' echo $"cmd eval $"cmd case * echo usage: `{basename $0} [-rw] >[1=2] exit usage }