Plan 9 from Bell Labs’s /usr/web/sources/contrib/nemo/rc/bin/env/setrole

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


#!/bin/rc

if (~ $#role 0)
	role=`{env/getrole}
echo $role >/what/$sysname/role
echo welcome to your $role terminal  at $location
if (test -e /devs/voice/output){
	echo welcome to your $role terminal at $location >/devs/voice/output
}
exit ''

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.