summaryrefslogtreecommitdiffstats
path: root/initrd/distro-specs/suse/functions-10.1
diff options
context:
space:
mode:
authorDirk von Suchodoletz2006-09-05 20:37:09 +0200
committerDirk von Suchodoletz2006-09-05 20:37:09 +0200
commitcd47eb8ebca6c9530f881332552e8a029a7312dc (patch)
tree634c2586a0d1387430d928a94a1ad301ce85bde7 /initrd/distro-specs/suse/functions-10.1
parentAdded hint to machine-setup template, moved floppy loopback image for (diff)
downloadcore-cd47eb8ebca6c9530f881332552e8a029a7312dc.tar.gz
core-cd47eb8ebca6c9530f881332552e8a029a7312dc.tar.xz
core-cd47eb8ebca6c9530f881332552e8a029a7312dc.zip
Testing for AFS ... hwautocfg - special action for scanner configuration
might be needed (device permissions via udev ...) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@355 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initrd/distro-specs/suse/functions-10.1')
-rw-r--r--initrd/distro-specs/suse/functions-10.125
1 files changed, 24 insertions, 1 deletions
diff --git a/initrd/distro-specs/suse/functions-10.1 b/initrd/distro-specs/suse/functions-10.1
index 7fb8a44a..0a39e86d 100644
--- a/initrd/distro-specs/suse/functions-10.1
+++ b/initrd/distro-specs/suse/functions-10.1
@@ -2,7 +2,7 @@
# in general SuSE base definitions ... General changes should be done there,
# version specific changes for the 10.1 go here.
#
-# Dirk von Suchodoletz <dvs@OpenSLX.com>, 31-08-2006
+# Dirk von Suchodoletz <dvs@OpenSLX.com>, 05-09-2006
#
# (c) 2006 - RZ Universitaet Freiburg
@@ -48,6 +48,29 @@ rllinker acpid "10" "12"
rllinker powersaved "11" "11"
}
+# afs client
+# configure afs client
+config_afs () {
+if [ "x$start_afs" = "xyes" ] ; then
+ if [ -f /mnt/etc/init.d/openafs-client ] ; then
+ test -d /mnt/afs || error "${df_errafsd}"
+ testmkd /mnt/var/cache/openafs
+ rllinker "openafs-client" "15" "06"
+ # echo -e "# /etc/sysconfig/afs-client - file generated by \
+ #$0:\n#\t$date\n" >/etc/sysconfig/afs-client.new;
+ # sed -e "s,THIS_CELL_SERVER.*,THIS_CELL_SERVER=\"$cell_serv\"," \
+ # -e "s,PREFERREDSERVERS.*,PREFERREDSERVERS=\"$cell_serv\"," \
+ # -e "s,THIS_CELL.*,THIS_CELL=\"$this_cell\"," \
+ # -e "s,MEMCACHE.*,MEMCACHE=\"yes\"," \
+ # /etc/sysconfig/afs-client >> \
+ # /etc/sysconfig/afs-client.new
+ # mv /etc/sysconfig/afs-client.new /etc/sysconfig/afs-client
+ else
+ error "${df_errafsn}" nonfatal
+ fi
+fi
+}
+
# prepare virtual machine environment (vmware, vmplayer)
config_vmware () {
rllinker "vmware-prep" "18" "02"