Subversion Repositories livecd

Rev

Rev 306 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 306 Rev 314
Line 7... Line 7...
7
#
7
#
8
########################################################################
8
########################################################################
9
 
9
 
10
%post
10
%post
11
 
11
 
-
 
12
# get SL release version
-
 
13
version=$( grep -o [0-9].[0-9] /etc/redhat-release )
-
 
14
 
12
# get sl logo
15
# get SL logo
13
cp /usr/share/doc/sl-release-notes-6.0/images/sl-logo-96.png /usr/share/doc/HTML/sl-logo-96.png
16
cp /usr/share/doc/sl-release-notes-$version/images/sl-logo-96.png /usr/share/doc/HTML/sl-logo-96.png
14
if [ ! -e /usr/share/doc/HTML/sl-logo-96.png ]; then
17
if [ ! -e /usr/share/doc/HTML/sl-logo-96.png ]; then
15
   wget --timeout=20 http://131.225.111.32/documentation/graphics/logo/sl-logo-96.png -O /usr/share/doc/HTML/sl-logo-96.png
18
   wget --timeout=20 http://131.225.111.32/documentation/graphics/logo/sl-logo-96.png -O /usr/share/doc/HTML/sl-logo-96.png
16
fi
19
fi
17
if [ ! -e /usr/share/doc/HTML/sl-logo-96.png ]; then
20
if [ ! -e /usr/share/doc/HTML/sl-logo-96.png ]; then
18
   wget --timeout=20 http://129.132.221.163/sl-logo-96.png -O /usr/share/doc/HTML/sl-logo-96.png
21
   wget --timeout=20 http://129.132.221.163/sl-logo-96.png -O /usr/share/doc/HTML/sl-logo-96.png
Line 20... Line 23...
20
 
23
 
21
cat > /usr/share/doc/HTML/index.html << EOF
24
cat > /usr/share/doc/HTML/index.html << EOF
22
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
25
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
23
<html>
26
<html>
24
<head>
27
<head>
25
<title>Scientific Linux 6.0 Live</title>
28
<title>Scientific Linux ${version} Live</title>
26
<style type="text/css" media="all">@import "layout.css";</style>
29
<style type="text/css" media="all">@import "layout.css";</style>
27
</head>
30
</head>
28
<body>
31
<body>
29
<center>
32
<center>
30
<img SRC='sl-logo-96.png' ALT='SL-Logo'><br><br>
33
<img SRC='sl-logo-96.png' ALT='SL-Logo'><br><br>
31
<h1>Welcome to Scientific Linux 6.0 Live</h1>
34
<h1>Welcome to Scientific Linux ${version} Live</h1>
32
</center>
35
</center>
33
<p>The <b>Scientific Linux Live CD/DVD</b> is a bootable CD/DVD that runs Linux directly from
36
<p>The <b>Scientific Linux Live CD/DVD</b> is a bootable CD/DVD that runs Linux directly from
34
CD/DVD without installing. It is based on <a href="https://www.scientificlinux.org/"> Scientific Linux</a> (SL),
37
CD/DVD without installing. It is based on <a href="https://www.scientificlinux.org/"> Scientific Linux</a> (SL),
35
which is recompiled from <a href="http://www.redhat.com/software/rhel/">RedHat Enterprise Linux</a> (RHEL) sources.<br>
38
which is recompiled from <a href="http://www.redhat.com/software/rhel/">RedHat Enterprise Linux</a> (RHEL) sources.<br>
36
The Live CD/DVD has a read-write rootfs and squashfs provides on-the-fly decompression that allows to store 
39
The Live CD/DVD has a read-write rootfs and squashfs provides on-the-fly decompression that allows to store