Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...
|
[SSI] openssi/distro-pkgs/debian/initrd-tools linuxrc,1.1.5.1.2.2,1.1.5.1.2: msg#00300
|
Subject: |
[SSI] openssi/distro-pkgs/debian/initrd-tools linuxrc,1.1.5.1.2.2,1.1.5.1.2.3 |
Update of /cvsroot/ssic-linux/openssi/distro-pkgs/debian/initrd-tools
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15609
Modified Files:
Tag: OPENSSI-DEBIAN
linuxrc
Log Message:
This makes it better
Index: linuxrc
===================================================================
RCS file:
/cvsroot/ssic-linux/openssi/distro-pkgs/debian/initrd-tools/Attic/linuxrc,v
retrieving revision 1.1.5.1.2.2
retrieving revision 1.1.5.1.2.3
diff -u -d -r1.1.5.1.2.2 -r1.1.5.1.2.3
--- linuxrc 25 May 2004 13:17:54 -0000 1.1.5.1.2.2
+++ linuxrc 26 May 2004 06:08:21 -0000 1.1.5.1.2.3
@@ -4,11 +4,18 @@
export PATH=/sbin:/bin
+# This is needed to get some conditional test
+. /linuxrc.conf
+
mount -nt proc proc proc
root=$(cat proc/sys/kernel/real-root-dev)
echo 256 > proc/sys/kernel/real-root-dev
mount -nt tmpfs tmpfs bin ||
mount -nt ramfs ramfs bin
echo $root > bin/root
-echo "HACK!!! init"
-exec /sbin/init
+
+if [ X$OPENSSI_CLUSTER = XYES ]; then
+ # For OpenSSI cluster we need to start init
+ # linuxrc is handled differenty for OpenSSI cluster
+ exec /sbin/init
+fi
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
|
| |