Debian Codegraph @

ctdb/tests/UNIT/eventscripts/stubs/pidof

raw
1 #!/bin/sh
2
3 case "$1" in
4 nfsd)
5 echo "$FAKE_NFSD_THREAD_PIDS"
6 ;;
7 rpc.statd | rpc.rquotad | rpc.mountd)
8 echo "$FAKE_RPC_THREAD_PIDS"
9 ;;
10 smbd)
11 echo "$FAKE_SMBD_THREAD_PIDS"
12 ;;
13 *)
14 echo "pidof: \"$1\" not implemented"
15 exit 1
16 ;;
17 esac