#!/bin/sh
########################################################################
# Begin scriptname: rc_initpkg
#
# Description : run rc.initpkg at boot time
#
# Authors     : KOJIMA
#
# Version     : Plamo 7.0
#
# Notes       :
#
########################################################################

### BEGIN INIT INFO
# Provides:            initpkg
# Required-Start:
# Should-Start:
# Required-Stop:
# Should-Stop:
# Default-Start: S
# Default-Stop:
# Short-Description: run /etc/rc.d/rc.initpkg at boot time
# Description:
# X-LFS-Provided-By:
### END INIT INFO

. /lib/lsb/init-functions

case "${1}" in
   start)
      if [ -x /etc/rc.d/rc.initpkg ]; then
          log_info_msg "run rc.initpkg..."	
          /etc/rc.d/rc.initpkg
	  evaluate_retval
      fi
      ;;
   *)
      echo "Usage: ${0} {start}"
      exit 1
      ;;
esac

exit 0

# End scriptname
