chiark / gitweb /
really: Document need to be in the "root" group as well. (This is better than removi...
[chiark-utils.git] / cprogs / trivsoundd-start
1 #!/bin/bash
2 set -e
3 pf=`tempfile`
4 rm -f $pf
5 mknod -m600 $pf p
6 exec 3<>$pf
7 exec >$pf 4<$pf
8 rm -f $pf
9 exec 3>&-
10 (exec logger -p user.info -t trivsoundd <&4 >/dev/null 2>&1) &
11 exec 4<&- 2>&1 </dev/null
12 exec ${0%%-start}