File: uml-master

package info (click to toggle)
quake2-data 9
  • links: PTS
  • area: contrib
  • in suites: woody
  • size: 112 kB
  • ctags: 19
  • sloc: sh: 421; exp: 106; makefile: 55
file content (20 lines) | stat: -rwxr-xr-x 410 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

# Run the UML process

#the pathname of the UML kernel
UML=$HOME/src/linux-2.4.17-um9/linux

#name of the ro root fs
ROOTFS=$HOME/src/linux-2.4.17-um9/rootfs-unstable

#ip of the host end of the network connection
IP=10.0.1.1

echo removing old cowfs
rm -f $COWFS
rm -rf /tmp/uml/tera
su -c "rm /dev/net/tun"

echo booting the uml machine
PATH=$PATH:/usr/lib/uml $UML eth0=tuntap,,,$IP ubd0=$ROOTFS