From: <kr...@us...> - 2006-07-28 03:06:50
|
Revision: 190 Author: krisk84 Date: 2006-07-27 20:06:47 -0700 (Thu, 27 Jul 2006) ViewCVS: http://svn.sourceforge.net/astlinux/?rev=190&view=rev Log Message: ----------- rc.conf.d support Modified Paths: -------------- trunk/target/generic/target_skeleton/etc/rc Modified: trunk/target/generic/target_skeleton/etc/rc =================================================================== --- trunk/target/generic/target_skeleton/etc/rc 2006-07-27 14:57:19 UTC (rev 189) +++ trunk/target/generic/target_skeleton/etc/rc 2006-07-28 03:06:47 UTC (rev 190) @@ -238,11 +238,21 @@ if [ -f /mnt/kd/rc.conf ] then -ln -s /mnt/kd/rc.conf /tmp/etc/rc.conf +cp -a /mnt/kd/rc.conf /tmp/etc/rc.conf else cp -a /stat/etc/rc.conf /tmp/etc/rc.conf fi +if [ -d /stat/etc/rc.conf.d ] +then +cat /stat/etc/rc.conf.d/*.conf >> /tmp/etc/rc.conf 2> /dev/null +fi + +if [ -d /mnt/kd/rc.conf.d ] +then +cat /mnt/kd/rc.conf.d/*.conf >> /tmp/etc/rc.conf 2> /dev/null +fi + if [ "$ASTIMG" ] then umount /oldroot This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |