diff options
author | Dirk von Suchodoletz | 2006-05-31 20:52:47 +0200 |
---|---|---|
committer | Dirk von Suchodoletz | 2006-05-31 20:52:47 +0200 |
commit | 5ed9a6825beeb61bcc7b6f74038cc86b068fb714 (patch) | |
tree | dbb883b192cef91e4d707d8aa44b2f4e9279c779 | |
parent | runvmware only changed versioninig (diff) | |
download | core-5ed9a6825beeb61bcc7b6f74038cc86b068fb714.tar.gz core-5ed9a6825beeb61bcc7b6f74038cc86b068fb714.tar.xz core-5ed9a6825beeb61bcc7b6f74038cc86b068fb714.zip |
passwd bug
git-svn-id: http://svn.openslx.org/svn/openslx/ld4@243 95ad53e4-c205-0410-b2fa-d234c58c8868
-rw-r--r-- | initrd/distro-specs/suse/functions-10.0 | 5 | ||||
-rwxr-xr-x | initrd/mkdxsinitrd | 4 | ||||
-rwxr-xr-x | installer/ld4-inst | 2 |
3 files changed, 9 insertions, 2 deletions
diff --git a/initrd/distro-specs/suse/functions-10.0 b/initrd/distro-specs/suse/functions-10.0 index f0d60599..ed41d1f7 100644 --- a/initrd/distro-specs/suse/functions-10.0 +++ b/initrd/distro-specs/suse/functions-10.0 @@ -9,7 +9,10 @@ # # Version: 0.2.1f -# +# empty preinit to overwrite settings from the 9.3 file +postinit () { +: +} # udev service udev_hotplug () { diff --git a/initrd/mkdxsinitrd b/initrd/mkdxsinitrd index a87906c6..865f7b6f 100755 --- a/initrd/mkdxsinitrd +++ b/initrd/mkdxsinitrd @@ -567,6 +567,10 @@ chmod 755 ${INSTDIR}/init \ if [ -f /etc/dxs/client.cfg/machine-setup.default ] ; then cp /etc/dxs/client.cfg/machine-setup.default \ ${INSTDIR}/etc/machine-setup +# fixme: dirty hack if the installer does not creates a normal file +elif [ -f /etc/dxs/client.cfg/machine-setup.default.new ] ; then + cp /etc/dxs/client.cfg/machine-setup.default.new \ + ${INSTDIR}/etc/machine-setup elif [ -f ../installer/default_files/machine-setup.default ] ; then cp ../installer/default_files/machine-setup.default \ ${INSTDIR}/etc/machine-setup diff --git a/installer/ld4-inst b/installer/ld4-inst index 34ea5649..c511cd9e 100755 --- a/installer/ld4-inst +++ b/installer/ld4-inst @@ -490,7 +490,7 @@ ${rootdir} ${netname}/${netmask}(ro,no_root_squash,async)" \ fi # linking files # fixme!! if SuSE und DHCP dann Kopie statt Link - if [ ${server_distro} = "suse" ] && echo ${dxs_dhcpd_conf}|\ + if [ ${server_distro} = "suse" ] && echo ${dxs_conf}|\ grep dhcp &>/dev/null; then rm ${2}${extension} &>/dev/null cp ${dxs_conf}/${1}-${timestamp} ${2}${extension} |