summaryrefslogtreecommitdiffstats
path: root/abs/core/lirc-utils/lircd
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/lirc-utils/lircd')
-rwxr-xr-xabs/core/lirc-utils/lircd1
1 files changed, 1 insertions, 0 deletions
diff --git a/abs/core/lirc-utils/lircd b/abs/core/lirc-utils/lircd
index 27e5af3..603b7e9 100755
--- a/abs/core/lirc-utils/lircd
+++ b/abs/core/lirc-utils/lircd
@@ -10,6 +10,7 @@ LIRCD_SOCKET=/var/run/lirc/lircd
case "$1" in
start)
stat_busy "Starting LIRC Daemon"
+ [ ! -d /var/run/lirc ] && install -d /var/run/lirc &>/dev/null
rm -f $LIRCD_SOCKET && ln -s $LIRCD_SOCKET $LIRCD_SYMLINKFILE
if [ $? -ne 0 ]; then
stat_fail