Line 1... |
Line 1... |
1 |
#
|
1 |
#
|
2 |
# sl6-doc.ks
|
2 |
# sl6-doc.ks
|
3 |
#
|
3 |
#
|
4 |
# Creates /usr/share/doc/HTML/index.html a short documentation
|
4 |
# Create /usr/share/doc/HTML/index.html
|
5 |
# for Scientific Linux Live CD/DVD
|
5 |
# A short documentation for Scientific Linux Live CD/DVD
|
6 |
#
|
6 |
#
|
7 |
|
7 |
|
8 |
%post
|
8 |
%post
|
9 |
|
9 |
|
- |
|
10 |
# get sl logo
|
- |
|
11 |
cp /usr/share/doc/sl-release-notes-6.0/images/sl-logo-96.png /usr/share/doc/HTML/sl-logo-96.png
|
- |
|
12 |
if [ ! -e /usr/share/doc/HTML/sl-logo-96.png ]; then
|
- |
|
13 |
wget --timeout=20 http://131.225.111.32/documentation/graphics/logo/sl-logo-96.png -O /usr/share/doc/HTML/sl-logo-96.png
|
- |
|
14 |
fi
|
- |
|
15 |
if [ ! -e /usr/share/doc/HTML/sl-logo-96.png ]; then
|
- |
|
16 |
wget --timeout=20 http://129.132.221.163/sl-logo-96.png -O /usr/share/doc/HTML/sl-logo-96.png
|
- |
|
17 |
fi
|
- |
|
18 |
|
10 |
cat > /usr/share/doc/HTML/index.html << EOF
|
19 |
cat > /usr/share/doc/HTML/index.html << EOF
|
11 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
20 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
12 |
<html>
|
21 |
<html>
|
13 |
<head>
|
22 |
<head>
|
14 |
<title>Scientific Linux 6.0 Live</title>
|
23 |
<title>Scientific Linux 6.0 Live</title>
|
15 |
<style type="text/css" media="all">@import "layout.css";</style>
|
24 |
<style type="text/css" media="all">@import "layout.css";</style>
|
16 |
</head>
|
25 |
</head>
|
17 |
<body>
|
26 |
<body>
|
18 |
<center>
|
27 |
<center>
|
19 |
<img SRC='/usr/share/doc/sl-release-notes-6.0/images/sl-logo-96.png' ALT='SL-Logo'><br><br>
|
28 |
<img SRC='sl-logo-96.png' ALT='SL-Logo'><br><br>
|
20 |
<h1>Welcome to Scientific Linux 6.0 Live</h1>
|
29 |
<h1>Welcome to Scientific Linux 6.0 Live</h1>
|
21 |
</center>
|
30 |
</center>
|
22 |
<p>The <b>Scientific Linux Live CD/DVD</b> is a bootable CD/DVD that runs Linux directly from
|
31 |
<p>The <b>Scientific Linux Live CD/DVD</b> is a bootable CD/DVD that runs Linux directly from
|
23 |
CD/DVD without installing. It is based on <a href="https://www.scientificlinux.org/"> Scientific Linux</a> (SL),
|
32 |
CD/DVD without installing. It is based on <a href="https://www.scientificlinux.org/"> Scientific Linux</a> (SL),
|
24 |
which is recompiled from <a href="http://www.redhat.com/software/rhel/">RedHat Enterprise Linux</a> (RHEL) sources.<br>
|
33 |
which is recompiled from <a href="http://www.redhat.com/software/rhel/">RedHat Enterprise Linux</a> (RHEL) sources.<br>
|
25 |
The Live CD/DVD has a read-write rootfs and squashfs provides on-the-fly decompression that allows to store
|
34 |
The Live CD/DVD has a read-write rootfs and squashfs provides on-the-fly decompression that allows to store
|
26 |
2 GB software on a normal CD-ROM. It can be installed on hard disk or usb drive with persistent changes.
|
35 |
2 GB software on a normal CD-ROM. It can be installed on hard disk or usb drive with persistent changes.
|
27 |
The Live CD/DVDs were built using the <a href="http://fedoraproject.org/wiki/FedoraLiveCD">Fedora LiveCD Tools</a>.</p>
|
36 |
The Live CD/DVDs were built using the <a href="http://fedoraproject.org/wiki/FedoraLiveCD">Fedora LiveCD Tools</a>.</p>
|
28 |
<p>For more information visit the <a href="http://www.livecd.ethz.ch/">Scientific Linux Live Homepage</a>.</p>
|
37 |
<p>For more information visit the <a href="http://www.livecd.ethz.ch/">Scientific Linux Live Homepage</a>.</p>
|
29 |
<p align=right>Last modified: Thursday, 03-March-2011 by <a href="http://www.iac.ethz.ch/people/beyerleu/">Urs Beyerle</a></p>
|
38 |
<p align=right>Last modified: Friday, 04-March-2011 by Urs Beyerle</p>
|
30 |
</body>
|
39 |
</body>
|
31 |
</html>
|
40 |
</html>
|
32 |
EOF
|
41 |
EOF
|
33 |
|
42 |
|
34 |
cat > /usr/share/doc/HTML/layout.css << EOF
|
43 |
cat > /usr/share/doc/HTML/layout.css << EOF
|