Linux linuxconf
The linuxconf startup script
#!/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
# make sure a bunch of modules are available to the user
[ -x /usr/lib/linuxconf/redhat/scripts/setmodules.sh ] && \
/usr/lib/linuxconf/redhat/scripts/setmodules.sh
fi
;;
stop)
# ignore
;;
*)
echo "Usage: $0 start"
exit 1
esac
exit 0
|