syslog: Use /media/mmcblk0p1/log to match /var/log
The nitb configuration expects /media/mmcblk0p1/log and to make it work and match with unix naming use the singular version.
This commit is contained in:
parent
1c3982289e
commit
84f23b2203
|
@ -1,6 +1,6 @@
|
||||||
SYSMOCOM := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
|
SYSMOCOM := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
|
||||||
FILESEXTRAPATHS_prepend := "${SYSMOCOM}/files:"
|
FILESEXTRAPATHS_prepend := "${SYSMOCOM}/files:"
|
||||||
PRINC = "12"
|
PRINC = "13"
|
||||||
|
|
||||||
SRC_URI += "file://busybox-ifplugd.sh \
|
SRC_URI += "file://busybox-ifplugd.sh \
|
||||||
file://ifplugd.sh"
|
file://ifplugd.sh"
|
||||||
|
|
|
@ -12,9 +12,9 @@ LOGLEVEL=4
|
||||||
# magic when a MMC card is mounted
|
# magic when a MMC card is mounted
|
||||||
USING_MMC_CARD=`/bin/mount | grep /media/mmcblk0p1 | wc -l`
|
USING_MMC_CARD=`/bin/mount | grep /media/mmcblk0p1 | wc -l`
|
||||||
if [ 1 -eq $USING_MMC_CARD ] ; then
|
if [ 1 -eq $USING_MMC_CARD ] ; then
|
||||||
if [ -e /media/mmcblk0p1/logs ] ; then
|
if [ -e /media/mmcblk0p1/log ] ; then
|
||||||
echo "Using mmc card"
|
echo "Using mmc card"
|
||||||
LOGFILE=/media/mmcblk0p1/logs/messages
|
LOGFILE=/media/mmcblk0p1/log/messages
|
||||||
DESTINATION="file"
|
DESTINATION="file"
|
||||||
ROTATESIZE=2048
|
ROTATESIZE=2048
|
||||||
ROTATEGENS=20
|
ROTATEGENS=20
|
||||||
|
|
Loading…
Reference in New Issue