teelime
teeli****@users*****
2006年 3月 3日 (金) 01:10:33 JST
Index: dlkit2/cl.disklessify diff -u dlkit2/cl.disklessify:1.3 dlkit2/cl.disklessify:1.4 --- dlkit2/cl.disklessify:1.3 Thu Mar 2 23:33:50 2006 +++ dlkit2/cl.disklessify Fri Mar 3 01:10:32 2006 @@ -269,6 +269,18 @@ fi } +config_autofs() { + if [ ! -z "$CL_EXPORT_HOME_MODE" ]; then +# echo "Setting mode and ownership for $CL_NAME:/export/home..." + echo "Setting mode and ownership for /export/home..." + if [ ! -d "$CL_ROOT/export/home" ]; then + mkdir -p $CL_ROOT/export/home + chown root $CL_ROOT/export/home + chgrp root $CL_ROOT/export/home + fi + chmod "$CL_EXPORT_HOME_MODE" $CL_ROOT/export/home + fi +} network_iface() { netstat -i | tail +2 | while read name mtu dest other; do if [ ! "x$name" = xlo0 -a ! "x$dest" = xloopback ]; then @@ -283,6 +295,10 @@ config_vfstab config_default_nfs + config_autofs + + # An allopathy + mkdir -p $CL_ROOT/etc/skel/.gnome2/panel2.d/default/launchers }