summaryrefslogtreecommitdiffstats
path: root/installer/ld4-inst
diff options
context:
space:
mode:
authorDirk von Suchodoletz2006-04-05 17:26:12 +0200
committerDirk von Suchodoletz2006-04-05 17:26:12 +0200
commit167021a236855ef54d110260674e14c071e6d025 (patch)
tree1ed76cc061f02b307ea211dd58f38edbb5204463 /installer/ld4-inst
parentfix initscripts in ubuntu (diff)
downloadcore-167021a236855ef54d110260674e14c071e6d025.tar.gz
core-167021a236855ef54d110260674e14c071e6d025.tar.xz
core-167021a236855ef54d110260674e14c071e6d025.zip
some fixes and addons ...
git-svn-id: http://svn.openslx.org/svn/openslx/ld4@165 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'installer/ld4-inst')
-rwxr-xr-xinstaller/ld4-inst14
1 files changed, 8 insertions, 6 deletions
diff --git a/installer/ld4-inst b/installer/ld4-inst
index f709352e..cf7ca126 100755
--- a/installer/ld4-inst
+++ b/installer/ld4-inst
@@ -3,8 +3,8 @@
# Description: Script for generating dxs filesystem by
# cloning from rsync source for Diskless X Stations (v4.0)
#
-# Author(s): Nico Dietrich, 22-03-2006
-# Dirk von Suchodoletz <dirk@goe.net>, 03-04-2006
+# Author(s): Nico Dietrich, 04-04-2006
+# Dirk von Suchodoletz <dirk@goe.net>, 05-04-2006
#
# Copyright: (c) 2003, 2006 - RZ Universitaet Freiburg
#
@@ -12,7 +12,7 @@
header() {
echo
- echo "Welcome to the LD4 installation"
+ echo "Welcome to the LD4 installation (please use lower case in input)"
echo
}
@@ -330,9 +330,11 @@ setup_server () {
sed -e "s,@@@tftpbootdir@@@,${tftpbootdir}," default_files/${atftpd_conf_name} > ${dxs_conf}/${dxs_atftpd_conf}-${timestamp}
# nfs
- echo -e "# Bla Blub\n \
- # NFS export entry for DXS\n\
- ${rootdir} ${netname}/${netmask}(ro,no_root_squash,async)" >> ${dxs_conf}/${dxs_exports_conf}-${timestamp}
+ echo -e "#/etc/exports - file generated by $0\n\
+# for backups of this file please check /etc/dxs directory\
+# NFS export entry for DXS\n\
+${rootdir} ${netname}/${netmask}(ro,no_root_squash,async)" \
+ >> ${dxs_conf}/${dxs_exports_conf}-${timestamp}
# pxe
[ -d ${tftpbootdir} ] || mkdir -p ${tftpbootdir}