• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/ptpd/S65ptpd
Gustavo ZacariasGustavo Zacarias committed 7d6449bb16507 May 2013
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
#!/bin/sh
2
#
3
# Start ptpd
4
#
5
​
6
case "$1" in
7
  start)
8
    echo -n "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
    echo -n "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 $?
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.