~ubuntu-branches/ubuntu/utopic/xen/utopic

« back to all changes in this revision

Viewing changes to tools/xm-test/ramdisk/skel/etc/init.d/rcS

  • Committer: Bazaar Package Importer
  • Author(s): Bastian Blank
  • Date: 2010-05-06 15:47:38 UTC
  • mto: (1.3.1) (15.1.1 sid) (4.1.1 experimental)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20100506154738-agoz0rlafrh1fnq7
Tags: upstream-4.0.0
ImportĀ upstreamĀ versionĀ 4.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
mount -a
 
4
 
 
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
 
9
 
 
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