summaryrefslogtreecommitdiff
path: root/packages/irda-utils/files/init
diff options
context:
space:
mode:
authorMatthias Hentges <oe@hentges.net>2006-04-26 09:37:45 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-04-26 09:37:45 +0000
commitab7a4795aecdce47b2d8543ae52a02d7b1868da2 (patch)
tree76407fadbe6f08c082ec44a09447a58b0b0dbc1e /packages/irda-utils/files/init
parent2f92d6942bc611e53bef6116b810b6053e98acb5 (diff)
irda-utils: Create /etc/sysconfig if it doesn't exist
Diffstat (limited to 'packages/irda-utils/files/init')
-rwxr-xr-xpackages/irda-utils/files/init1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/irda-utils/files/init b/packages/irda-utils/files/init
index 0da6c3885a..9becfcc0ed 100755
--- a/packages/irda-utils/files/init
+++ b/packages/irda-utils/files/init
@@ -21,6 +21,7 @@ if [ ! -f /etc/sysconfig/irda ]; then
;;
esac
+ mkdir -p /etc/sysconfig
echo "IRDA=$IRDA" > /etc/sysconfig/irda
if [ $IRDA = "yes" ]; then
echo "DEVICE=$DEVICE" >> /etc/sysconfig/irda