summaryrefslogtreecommitdiff
path: root/scripts/02-net.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 10:04:21 +0200
committerDaniel Baumann <daniel@debian.org>2007-09-23 10:04:21 +0200
commitfb35af8aa207ef5377022028d9e2b497445fb349 (patch)
treee928737e9e000d1f2509395f58f04465c17794c5 /scripts/02-net.sh
parent18e4f460bf1c115c62ea9aebb56d75d486322531 (diff)
downloadlive-build-fb35af8aa207ef5377022028d9e2b497445fb349.zip
live-build-fb35af8aa207ef5377022028d9e2b497445fb349.tar.gz
Adding live-package 0.99.3-1.
Diffstat (limited to 'scripts/02-net.sh')
-rw-r--r--scripts/02-net.sh40
1 files changed, 0 insertions, 40 deletions
diff --git a/scripts/02-net.sh b/scripts/02-net.sh
deleted file mode 100644
index 1736e74..0000000
--- a/scripts/02-net.sh
+++ /dev/null
@@ -1,40 +0,0 @@
-# scripts/02-net.sh
-
-Net ()
-{
- # Installing smbfs
- chroots "apt-get install --yes smbfs"
-
- if [ "${LIVE_ARCHITECTURE}" = "amd64" ] || [ "${LIVE_ARCHITECTURE}" = "i386" ]
- then
- mkdir "${LIVE_CHROOT}"/etc/mkinitramfs
-
- # Configuring initramfs for NFS
-cat >> "${LIVE_CHROOT}"/etc/mkinitramfs/initramfs.conf << EOF
-MODULES=netboot
-BOOT=nfs
-EOF
- fi
-
- # Installing syslinux
- Syslinux net
-
- # Installing linux-image
- Linuximage net
-
- # Installing memtest
- Memtest net
-
- if [ -z "${LIVE_VERBOSE}" ]
- then
- # Creating tarball
- cd "${LIVE_ROOT}" && cd .. && \
- tar cfz netboot.tar.gz `basename "${LIVE_ROOT}"` && \
- mv netboot.tar.gz "${LIVE_ROOT}"
- else
- # Creating tarball (debug)
- cd "${LIVE_ROOT}" && cd .. && \
- tar cfvz netboot.tar.gz `basename "${LIVE_ROOT}"` && \
- mv netboot.tar.gz "${LIVE_ROOT}"
- fi
-}