projects
/
openwrt
/
staging
/
kaloz.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
odhcpd: Bump to latest HEAD
[openwrt/staging/kaloz.git]
/
package
/
system
/
mountd
/
files
/
mountd.init
1
#!/bin/sh /etc/rc.common
2
3
START
=
80
4
5
SERVICE_DAEMONIZE
=
1
6
SERVICE_WRITE_PID
=
1
7
SERVICE_PID_FILE
=/
var
/
run
/
mountd.pid
8
9
MOUNTD_BIN
=/
sbin
/
mountd
10
11
start
()
12
{
13
P
=
"$(uci get mountd.mountd.path)"
14
[
-n
"
$P
"
-a
!
-f
"
$P
"
] &&
mkdir
-p
$P
15
16
service_start
$MOUNTD_BIN
-f
17
}
18
19
stop
()
20
{
21
service_stop
$MOUNTD_BIN
22
}