• 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/neard/S53neard
Maxime HadjinlianMaxime Hadjinlian committed 0f75b2635ee03 Oct 2015
Raw file
Source viewDiff to previous
 
1
#!/bin/sh
2
#
3
# Starts neard
4
#
5
​
6
NAME=neard
7
DAEMON=/usr/libexec/nfc/$NAME
8
​
9
# Exit gracefully if the package has been removed
10
[ -x $DAEMON ] || exit 0
11
​
12
case "$1" in
13
  start)
14
    printf "Starting $NAME: "
15
    start-stop-daemon -S -q -p /var/run/${NAME}.pid -x $DAEMON -- -d '*'
16
    echo "OK"
17
    ;;
18
  stop)
19
    printf "Stopping $NAME: "
20
    start-stop-daemon -K -q -p /var/run/${NAME}.pid
21
    echo "OK"
22
    ;;
23
  restart|reload)
24
    $0 stop
25
    sleep 1
26
    $0 start
27
    ;;
28
  *)
29
    echo "Usage: $0 {start|stop|restart}"
30
    exit 1
31
esac
32
​
33
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.