debuggers.hg

view tools/xm-test/ramdisk/skel/etc/init.d/rcS @ 0:7d21f7218375

Exact replica of unstable on 051908 + README-this
author Mukesh Rathor
date Mon May 19 15:34:57 2008 -0700 (2008-05-19)
parents
children
line source
1 #!/bin/sh
3 mount -a
5 # If we're running 2.6, make sure /sys is mounted
6 if uname -r | grep -q '^2.6'; then
7 mount -t sysfs none /sys
8 fi
10 # If the block, net, and packet drivers are modules, we need to load them
11 if test -e /modules/xenblk.ko; then
12 insmod /modules/xenblk.ko > /dev/null 2>&1
13 fi
14 if test -e /modules/xennet.ko; then
15 insmod /modules/xennet.ko > /dev/null 2>&1
16 fi
17 if test -e /modules/af_packet.ko; then
18 insmod /modules/af_packet.ko > /dev/null 2>&1
19 fi