From f927106e9913db169ca397be3de90e58df93cbb9 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Fri, 6 Feb 2015 01:17:36 +0000
Subject: runit-scripts: irexec run: add some env stuff

---
 abs/core/runit-scripts/PKGBUILD                         | 2 +-
 abs/core/runit-scripts/runitscripts/services/irexec/run | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/abs/core/runit-scripts/PKGBUILD b/abs/core/runit-scripts/PKGBUILD
index 4b2f625..de02476 100755
--- a/abs/core/runit-scripts/PKGBUILD
+++ b/abs/core/runit-scripts/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=runit-scripts
 pkgver=8.3
-pkgrel=5
+pkgrel=6
 pkgdesc="collection of startup scripts for runit"
 url="http://smarden.org/runit/"
 license="BSD"
diff --git a/abs/core/runit-scripts/runitscripts/services/irexec/run b/abs/core/runit-scripts/runitscripts/services/irexec/run
index 55653a3..01b775a 100644
--- a/abs/core/runit-scripts/runitscripts/services/irexec/run
+++ b/abs/core/runit-scripts/runitscripts/services/irexec/run
@@ -1,8 +1,10 @@
 #!/bin/sh
 exec 2>&1
+export TERM=linux
 
 . /etc/rc.conf
 . /etc/rc.d/functions
+. /etc/profile
 
 if [[ -z $(pidof lircd) ]]; then
     stat_runit "No lircd process, can't start irexec"
-- 
cgit v0.12

