Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 38 lines (32 sloc) 398 Bytes
#! /bin/bash
#
# vhdd-clean Removes the stale attaching info on startup
#
# chkconfig: 2345 20 78
# description: vhd cleaning
# Source function library.
. /etc/init.d/functions
start() {
rm -rf /var/sm/*
}
stop() {
echo ""
}
restart() {
stop
start
}
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
restart
;;
*)
echo $"Usage: $0 {start|stop|restart}"
exit 1
esac