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
kmod: bump to version 24
[buildroot-gz.git]
/
package
/
ptpd
/
S65ptpd
blob
89914e96bc6aad16debbdcd5ecb18cafdfa0fe33
1
#!/bin/sh
2
#
3
# Start ptpd
4
#
5
6
case
"
$1
"
in
7
start
)
8
printf
"Starting ptpd: "
9
start-stop-daemon
-S -q -x
/
usr
/
sbin
/
ptpd
-- -S
10
if
[
$?
!=
0
];
then
11
echo
"FAILED"
12
exit
1
13
else
14
echo
"OK"
15
fi
16
;;
17
stop
)
18
printf
"Stopping ptpd: "
19
start-stop-daemon
-K -q -x
/
usr
/
sbin
/
ptpd
20
echo
"OK"
21
;;
22
restart|reload
)
23
;;
24
*)
25
echo
"Usage:
$0
{start|stop|restart}"
26
exit
1
27
esac
28
29
exit
$?