From: <kr...@us...> - 2007-05-01 18:43:13
|
Revision: 996 http://svn.sourceforge.net/astlinux/?rev=996&view=rev Author: krisk84 Date: 2007-05-01 11:43:15 -0700 (Tue, 01 May 2007) Log Message: ----------- various init fixes Modified Paths: -------------- trunk/package/asterisk/asterisk.init trunk/target/generic/target_skeleton/etc/rc Modified: trunk/package/asterisk/asterisk.init =================================================================== --- trunk/package/asterisk/asterisk.init 2007-05-01 16:04:52 UTC (rev 995) +++ trunk/package/asterisk/asterisk.init 2007-05-01 18:43:15 UTC (rev 996) @@ -87,15 +87,18 @@ modprobe pikainline fi +if `which pikacf > /dev/null 2> /dev/null` +then if [ -r /usr/share/pika/montecarlo/conf/pikaconfig.xml ] then echo "PikaInline already configured..." else mount -o rw,remount / -echo "Running initial configuration for pikainlineMM..." +echo "Running initial configuration for PikaInline..." pikacf -a /dev/null 1>/dev/null & mount -o ro,remount / fi +fi } start () { Modified: trunk/target/generic/target_skeleton/etc/rc =================================================================== --- trunk/target/generic/target_skeleton/etc/rc 2007-05-01 16:04:52 UTC (rev 995) +++ trunk/target/generic/target_skeleton/etc/rc 2007-05-01 18:43:15 UTC (rev 996) @@ -236,8 +236,11 @@ then ln -sf /mnt/kd/rc.conf /tmp/etc/rc.conf else +if [ -f /stat/etc/rc.conf ] +then cp -a /stat/etc/rc.conf /tmp/etc/rc.conf fi +fi if [ -d /stat/etc/rc.conf.d ] then This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |