File rc.storage-fixup of Package storage-fixup
#! /bin/sh
#
# Copyright (c) 2008 SuSE GmbH Nuernberg, Germany. All rights reserved.
#
# /etc/init.d/storage-fixup
#
### BEGIN INIT INFO
# Provides: boot.storage-fixup
# Required-Start: boot.localfs
# Required-Stop: $null
# Default-Start: B
# Default-Stop:
# Short-Description: storage fixups
# Description: execute storage fixups
### END INIT INFO
# /usr might be mounted via NFS, so skip this if it is not available
test -x /usr/sbin/storage-fixup || exit 5
. /etc/rc.status
rc_reset
case "$1" in
start|restart)
echo -n "Executing storage fixups..."
/usr/sbin/storage-fixup
rc_status -v -r
;;
stop)
;;
status)
rc_failed 4
rc_status -v
;;
reload)
rc_failed 3
rc_status -v
;;
*)
echo "Usage: $0 {start|stop|status|restart|reload}"
exit 1
;;
esac
rc_exit