[dl-x86solaris-devel 62] CVS update: dlkit2

Back to archive index

teelime teeli****@users*****
2006年 3月 2日 (木) 23:33:51 JST


Index: dlkit2/cl.disklessify
diff -u dlkit2/cl.disklessify:1.2 dlkit2/cl.disklessify:1.3
--- dlkit2/cl.disklessify:1.2	Thu Mar  2 23:04:27 2006
+++ dlkit2/cl.disklessify	Thu Mar  2 23:33:50 2006
@@ -259,6 +259,16 @@
     echo "$CL_SWAPFILE - - swap - no -" >> $CL_ROOT/etc/vfstab
 }
 
+config_default_nfs() {
+    if [ ! -z "$CL_NFS_CLIENT_VERSION" ]; then
+	(cat $CL_ROOT/etc/default/nfs.localdisk
+	    echo ""
+	    echo "#Added by sv.offline-installer"
+	    echo "NFS_CLIENT_VERSMAX=$CL_NFS_CLIENT_VERSION"
+	) > $CL_ROOT/etc/default/nfs
+    fi
+}
+
 network_iface() {
     netstat -i | tail +2 | while read name mtu dest other; do
 	if [ ! "x$name" = xlo0 -a ! "x$dest" = xloopback ]; then
@@ -269,8 +279,10 @@
 
 setup_bootenv() {
     backup_file $CL_ROOT/etc/vfstab
+    backup_file $CL_ROOT/etc/default/nfs
 
     config_vfstab
+    config_default_nfs
 }
 
 


dl-x86solaris-devel メーリングリストの案内
Back to archive index