|
From: Bruce S. <bl...@us...> - 2008-04-28 19:30:59
|
Update of /cvsroot/devil-linux/build/config/etc/initrd In directory sc8-pr-cvs12.sourceforge.net:/tmp/cvs-serv3100/config/etc/initrd Modified Files: mount_cdrom Log Message: Fix "RUN FROM RAM" on aufs. Index: mount_cdrom =================================================================== RCS file: /cvsroot/devil-linux/build/config/etc/initrd/mount_cdrom,v retrieving revision 1.43 retrieving revision 1.44 diff -u -d -r1.43 -r1.44 --- mount_cdrom 15 Sep 2007 17:05:56 -0000 1.43 +++ mount_cdrom 28 Apr 2008 19:30:21 -0000 1.44 @@ -117,16 +117,16 @@ fi # check if we already have a config loaded - if [ -e "/etc/Devil-release" -a "/etc/sysconfig/config" ]; then + if [ "/shm/etc-mods/sysconfig/config" ]; then # load main config file - . /etc/sysconfig/config + . /shm/etc-mods/sysconfig/config else # nothing I can do about it, no config, no variable RUNFROMRAM return 1 fi # check if we should run from ram or not - [ -z "${RUNFROMRAM}" -o "${RUNFROMRAM}" != "yes" ] && return 1 + [ "${RUNFROMRAM}" != "yes" ] && return 1 ## FIXME # we should probably define these somewhere more central |