slitaz-dev-tools diff mirror-tools/usr/share/mirror-host/boot/lguest-slitaz @ rev 4

Starting to add mirror-tools. Add etc. home. and usr so far.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Feb 24 01:03:48 2011 +0000 (2011-02-24)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mirror-tools/usr/share/mirror-host/boot/lguest-slitaz	Thu Feb 24 01:03:48 2011 +0000
     1.3 @@ -0,0 +1,21 @@
     1.4 +#!/bin/sh
     1.5 +
     1.6 +tty=tty; [ -n "$1" ] && tty=$1
     1.7 +export TERM=$tty
     1.8 +shift
     1.9 +
    1.10 +rootfs="--initrd=/boot/rootfs-lguest.gz"
    1.11 +[ -n "$1" ] && rootfs="--block=$1 root=/dev/vda2"
    1.12 +shift
    1.13 +
    1.14 +net="--tunnet=192.168.0.1"
    1.15 +case "$1" in
    1.16 +192*) net="--tunnet=$1"; shift;;
    1.17 +esac
    1.18 +
    1.19 +args="screen=text lang=fr_FR kmap=fr-latin1 sound=noconf"
    1.20 +[ -n "$1" ] && args=$@
    1.21 +
    1.22 +/sbin/modprobe lg
    1.23 +/usr/bin/lguest 512 /boot/vmlinuz-2.6.25.5-lguest \
    1.24 +	$net $rootfs $args > /dev/$tty < /dev/$tty 2>&1