#!/bin/sh
#
# linuxconf  Hook to allow linuxconf to put into place any
#	     linuxconf-specific policies
#
# chkconfig: 2345 99 00
# description: post-startup hook for linuxconf

# See how we were called.
case "$1" in
  start)
	if [ -x /bin/linuxconf ] ; then
		echo "Linuxconf final setup"
		/bin/netconf --S99linuxconf	
	fi
	# make sure treemenu is available to user
	grep '^module.list.*treemenu$' /etc/conf.linuxconf >/dev/null 2>&1 || \
	  linuxconf --setmod treemenu
	;;
  stop)
	# ignore
	;;
  *)
	echo "Usage: $0 start"
	exit 1
esac

exit 0


