repo.or.cz
/
buildroot-gz.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
python-pyasn: bump to version 1.6.0b1
[buildroot-gz.git]
/
package
/
rpcbind
/
S30rpcbind
blob
532d3f8866ae6063e711a03ca6fa8c8c40cd1ad3
1
#!/bin/sh
2
#
3
# Starts rpcbind.
4
#
5
6
start
() {
7
printf
"Starting rpcbind: "
8
umask
077
9
start-stop-daemon
-S -q -p
/
var
/
run
/
rpcbind.pid
--exec
/
usr
/
bin
/
rpcbind
10
echo
"OK"
11
}
12
stop
() {
13
printf
"Stopping rpcbind daemon: "
14
start-stop-daemon
-K -q -p
/
var
/
run
/
rpcbind.pid
15
echo
"OK"
16
}
17
restart
() {
18
stop
19
start
20
}
21
22
case
"
$1
"
in
23
start
)
24
start
25
;;
26
stop
)
27
stop
28
;;
29
restart|reload
)
30
restart
31
;;
32
*)
33
echo
"Usage:
$0
{start|stop|restart}"
34
exit
1
35
esac
36
37
exit
$?
38