• 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/lirc-tools/S25lircd
Maxime HadjinlianMaxime Hadjinlian committed 0f75b2635ee03 Oct 2015
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
#!/bin/sh
2
#
3
# Start lirc
4
#
5
# Support for remotes - Add remotes to /etc/lirc/lircd.conf.d/
6
#
7
​
8
start() {
9
    printf "Starting lirc: "
10
    mkdir -p /var/run/lirc
11
    ln -sf /var/run/lirc/lircd /dev/lircd
12
    start-stop-daemon -b -S -q -m -p /var/run/lirc.pid --exec /usr/sbin/lircd -- -n -O /etc/lirc/lirc_options.conf
13
    echo "OK"
14
}
15
​
16
stop() {
17
    printf "Stopping lirc: "
18
    start-stop-daemon -K -q -p /var/run/lirc.pid
19
    echo "OK"
20
}
21
​
22
case "$1" in
23
  start)
24
    start
25
    ;;
26
  stop)
27
    stop
28
    ;;
29
  restart|reload)
30
    stop
31
    start
32
    ;;
33
  *)
34
    echo "Usage: $0 {start|stop|restart}"
35
    exit 1
36
esac
37
​
38
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.