#!/bin/sh

# Source function library.
if [ -f /etc/init.d/functions ] ; then
  . /etc/init.d/functions
elif [ -f /etc/rc.d/init.d/functions ] ; then
  . /etc/rc.d/init.d/functions
else
  exit 0
fi

if [ "$1" = "start"  -a ! -s /lib/modules/`uname -r`/modules.dep ]
then
    echo -n "Running depmod "
    /sbin/depmod -a
    echo_success
    echo
fi

