gzip network traffic.
[virt-p2v.git] / p2v.init
1 #!/bin/bash
2 #
3 # p2v: Init script which starts the p2v process.
4 #
5 # chkconfig: 345 99 99
6 # description: Init script which starts the p2v process.
7
8 . /etc/init.d/functions
9
10 # How were we called?
11 case "$1" in
12 start)
13         # Some modules which we definitely will need.
14         /sbin/modprobe dm_mod
15         /sbin/modprobe dm_snapshot
16
17         # Start the P2V script.
18         /usr/bin/virt-p2v.sh &
19
20         ;;
21
22 *)      ;;
23 esac
24
25 # This file must end with a newline
26