#!/bin/sh
# Copyright (C) 2001 NEC Corporation
# All Rights Reserved.
#
#    /etc/rc0.d/K00a - Express5800/MW Online Update Package Install Script
#
#    1. run all executable pre files in $dir and logging /var/log/wbmc_olud/<logfile>.
#    2. remove the files.
#    3. install all rpm packages in $dir and logging /var/log/wbmc_olud/<logfile>.
#    4. remove the rpm files.
#    5. run all executable post files in $dir and logging /var/log/wbmc_olud/<logfile>.
#    6. remove the files.
#
# chkconfig: - 99 00
# description: Express5800/MW Online Update Package Install Script
#

dir="/var/opt/nec/wbmc/olud/onshutdown"
logdir="/var/log/wbmc_olud"
lastsh="last.sh"

logf="$logdir/log`date '+%Y%m%d%H%M'`.$$"

start() {
  return 0
}

stop() {
  return 0
}

case "$1" in
  start)
        start
        ;;
  stop)
        stop
        ;;
  *)
        stop
        ;;
esac

exit 0

