#!/bin/bash # # p2v: Init script which starts the p2v process. # # chkconfig: 345 99 99 # description: Init script which starts the p2v process. . /etc/init.d/functions # How were we called? case "$1" in start) # Some modules which we definitely will need. /sbin/modprobe dm_mod /sbin/modprobe dm_snapshot # Start the P2V script. /usr/bin/virt-p2v.sh & ;; *) ;; esac # This file must end with a newline