Browse Source

lcdproc: changed to use a dedicated sysconfdir /etc/lcdproc instead of /etc

user/karasz/firmware
Christian Wiese 12 years ago committed by Christian Wiese
parent
commit
c0fcf223ec
  1. 8
      monitor/lcdproc/lcdproc.conf

8
monitor/lcdproc/lcdproc.conf

@ -2,6 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../lcdproc/lcdproc.conf
# Copyright (C) 2012 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
@ -13,9 +14,14 @@
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
if [ $prefix_auto = 1 ]; then
# use a dedicated sysconfdir
sysconfdir="$sysconfdir/$pkg"
fi
lcdemu_postmake () {
echo "Copying default configuration:"
cp -v LCDd.conf ${root}/etc
cp -v LCDd.conf ${root}${sysconfdir}
}
hook_add postmake 5 "lcdemu_postmake"

Loading…
Cancel
Save