Update of /cvsroot/devil-linux/build/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9711/scripts
Added Files:
longhaul shfs
Log Message:
longhaul and shfs for first time
--- NEW FILE: shfs ---
#!/bin/bash
# $Source: /cvsroot/devil-linux/build/scripts/shfs,v $
# $Revision: 1.1 $
# $Date: 2004/03/21 17:20:30 $
#
# http://www.devil-linux.org
#
# SHFS added by Diego Torres <rap...@an...>
# you need the next line, otherwise script won't be executed !!!
# DL-build-system v3
### BEGIN INIT INFO
# Provides: shfs
# Required-Start: $basebuildtools $libs linux
# Required-Stop:
# Default-Start: 1 2
# Default-Stop:
# Description: mount remote filesystems using (secure) shell connection
### END INIT INFO
# get the directoryname of the script
MYDIR=${0%/*}
# source functions and config
source $MYDIR/settings
MYNAME=SHFS
test "$CONFIG_LINUX_VERSION" = "2.6" && exit 0
case $1 in
build )
if [ "$CONFIG_SHFS" = "y" ]; then
make ROOT=${CDDIR} KERNEL_SOURCES=${KERNELDIR} MAN_PAGE_DIR=/usr/share/man
fi
;;
install )
if [ "$CONFIG_SHFS" = "y" ]; then
make ROOT=${CDDIR} KERNEL_SOURCES=${KERNELDIR} MAN_PAGE_DIR=/usr/share/man utils-install module-install
rm -rf $WORKDIR/tmp || exit 1
echo "HELP_$MYNAME=\"$MYNAME to mount remote filesystems using (secure) shell connection\"" >> $SOFTWAREHELP
fi
;;
* )
echo "ERROR ($0)"
echo "please add parameter so I know what to do"
exit 1
;;
esac
--- NEW FILE: longhaul ---
#!/bin/bash
# $Source: /cvsroot/devil-linux/build/scripts/longhaul,v $
# $Revision: 1.1 $
# $Date: 2004/03/21 17:20:30 $
#
# http://www.devil-linux.org
#
# longhayl added by Diego Torres <rap...@an...>
# you need the next line, otherwise script won't be executed !!!
# DL-build-system v3
### BEGIN INIT INFO
# Provides: longhaul
# Required-Start: $basebuildtools $libs linux
# Required-Stop:
# Default-Start: 1 2
# Default-Stop:
# Description: The longhaul driver included with the 2.4 kernel does not work on the most recent VIA C3 CPUs. This fixes it.
### END INIT INFO
# get the directoryname of the script
MYDIR=${0%/*}
# source functions and config
source $MYDIR/settings
MYNAME=LONGHAUL
test "$CONFIG_LINUX_VERSION" = "2.6" && exit 0
case $1 in
build )
if [ "$CONFIG_LONGHAUL" = "y" ]; then
make KERNELDIR=${KERNELDIR} MODULEDIR=${CDDIR}/lib/modules/${KERNELVERSION}/kernel/arch/i386/kernel
fi
;;
install )
if [ "$CONFIG_LONGHAUL" = "y" ]; then
cp -f longhaul.o ${CDDIR}/lib/modules/${KERNELVERSION}/kernel/arch/i386/kernel || exit 1
cp -f governor.o ${CDDIR}/lib/modules/${KERNELVERSION}/kernel/arch/i386/kernel || exit 1
cp $MYDIR/scripts/longhaul $ETCDIR/etc/init.d || exit 1
rm -rf $WORKDIR/tmp || exit 1
echo "# Load longhaul VIAC3_2 CPU fix?" >> $CONFIGFILE
echo "START_LONGHAUL=no" >> $CONFIGFILE
echo >> $CONFIGFILE
echo "HELP_$MYNAME=\"$MYNAME is because the longhaul driver included with the 2.4 kernel does not work on the most recent VIA C3 CPUs, this is a fix\"" >> $SOFTWAREHELP
fi
;;
* )
echo "ERROR ($0)"
echo "please add parameter so I know what to do"
exit 1
;;
esac
|