-Provide a better hint for service network stop

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1836 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2008-07-03 16:44:30 +00:00
parent 3ce4c0dec6
commit eb586d1586

View File

@ -274,7 +274,6 @@ if [ "\$NFS" = "1" ]; then
mkdir -p /rw/etc
mkdir -p /rw/var/lib/dhclient
cp /etc/resolv.conf /rw/etc/
echo xcatfs / aufs rw,_netdev 0 0 > /rw/etc/mtab
cp /var/lib/dhclient/dhclient.leases /rw/var/lib/dhclient/dhclient-$prinic.leases
mount -t aufs -o dirs=/rw:/ro mergedroot /sysroot
mkdir -p /sysroot/ro
@ -282,6 +281,7 @@ if [ "\$NFS" = "1" ]; then
mount --move /ro /sysroot/ro
mount --move /rw /sysroot/rw
cp /etc/resolv.conf /sysroot/etc/
echo xcatfs / aufs rw,_netdev 0 0 >> /rw/etc/fstab
elif [ -r /rootimg.sfs ]; then
echo Setting up squashfs with ram overlay.
mknod /dev/loop0 b 7 0