#!/bin/sh
#
case "$1" in
  start)

    # BUG: Unfortunately /var/run/runlevel.dir is not updated when the
    # runlevel is changed - this code should be in /etc/init.d/rc instead
    echo /etc/rc${RUNLEVEL}.d > /var/run/runlevel.dir

    if [ -x /bin/netconf ]; then
      echo -n "Setting up Linuxconf's firewalling rules... "
      /bin/netconf --S99linuxconf > /dev/null
      echo "done."
    fi

    ;;
  stop|restart|reload|force-reload)
    ;;
esac
