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