3 # source application-specific settings
5 [ -f /etc
/conf.d
/inputlircd
] && .
/etc
/conf.d
/inputlircd
10 PID
=`pidof -o %PPID /usr/sbin/inputlircd`
11 LIRCD_SYMLINKFILE
=/dev
/lircd
12 LIRCD_SOCKET
=/var
/run
/lirc
/lircd
15 stat_busy
"Starting InputLIRCd Daemon"
16 [ ! -d /var
/run
/lirc
] && install -d /var
/run
/lirc
&>/dev
/null
17 rm -f $LIRCD_SOCKET && ln -s $LIRCD_SOCKET $LIRCD_SYMLINKFILE
22 [ -z "$PID" ] && /usr
/sbin
/inputlircd
${INPUTLIRCD_ARGS}
31 stat_busy
"Stopping InputLIRCd Daemon"
32 rm -f $LIRCD_SYMLINKFILE
33 [ ! -z "$PID" ] && kill $PID &> /dev
/null
47 echo "usage: $0 {start|stop|restart}"