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
board/csky: fixup gdb instructions in readme.txt
[buildroot-gz.git]
/
package
/
netatalk
/
S50netatalk
blob
287b20d7741ce41b757d935ee202f70512f7e3b4
1
#!/bin/sh
2
#
3
# Start netatalk
4
#
5
6
start
() {
7
echo
"Starting Netatalk"
8
start-stop-daemon
-S -q -p
/
var
/
run
/
netatalk.pid
--exec
/
usr
/
sbin
/
netatalk
9
}
10
11
stop
(){
12
echo
"Stopping Netatalk"
13
start-stop-daemon
-K -q -p
/
var
/
run
/
netatalk.pid
14
}
15
16
case
"
$1
"
in
17
start
)
18
start
19
;;
20
stop
)
21
stop
22
;;
23
restart
)
24
start
25
stop
26
;;
27
*)
28
echo
"Usage:
$0
{start|stop|restart}"
29
exit
1
30
esac
31
32
exit
$?
33