repo.or.cz
/
v4hn_moonbase.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
added dependencies libtasn1 and iso-codes
[v4hn_moonbase.git]
/
net
/
netkit-bootparamd
/
rpc.bootparamd.sh
blob
f10eab2f50aa9e6b6e0ac35a8bd525408f0c0729
1
#!/bin/sh
2
3
case
$1
in
4
start|restart
)
echo
"
$1ing
rpc.bootparamd."
5
pkill
"^rpc.bootparamd$"
&&
sleep
2
6
ps
-C
portmap
> /
dev
/
null || portmap
7
rpc.bootparamd
8
;;
9
stop
)
echo
"
$1ing
rpc.bootparamd."
10
pkill
"^rpc.bootparamd$"
11
;;
12
*)
echo
"Usage:
$0
{start|stop|restart}"
13
;;
14
esac