Cleanup Novell client 2.0 beta ebuilds

This commit is contained in:
geos_one
2007-08-03 08:38:29 +00:00
parent 473b8d5775
commit 983d7c3cb2
31 changed files with 102 additions and 336 deletions

View File

@@ -1,69 +0,0 @@
#!/sbin/runscript
NOVFS_MOUNT_PATH=/var/opt/novell/nclmnt
export XTIER_CODE_PAGE=`locale charmap`
export NCPL_DO_NOT_OVERWRITE_OPENLOG=1
depend() {
before xdm
need net
after novell-xregd
}
#checkconfig() {
# if [ ! -e ${NDSD_CONFIGFILE} ] ; then
# eerror "Novell eDirectory server has not been configured."
# return 1
# fi
#}
start() {
export XTIER_CODE_PAGE=`locale charmap`
export NCPL_DO_NOT_OVERWRITE_OPENLOG=1
ebegin "Loading novell novfs kernel module"
#Try and start novfs
modprobe novfs
lsmod |grep novfs 2>&1 >/dev/null
eend $?
ebegin "Mounting novell novfs"
#Mount our filesystem
mount -t novfs novfs $NOVFS_MOUNT_PATH
eend $?
EnableNMAS=1
if [ -f /etc/opt/novell/ncl/login.conf ]; then
cat /etc/opt/novell/ncl/login.conf |grep "NMAS_Authentication=false" 2>&1 >/dev/null
if [ $? -eq 0 ]; then
EnableNMAS=0
fi
fi
if [ $EnableNMAS -eq 0 ]; then
ebegin "Starting novell novfs daemon with NMAS-Authentication"
start-stop-daemon --start --quiet --exec /opt/novell/ncl/bin/novfsd -- -m
else
ebegin "Starting Novell novfs daemon"
start-stop-daemon --start --quiet --exec /opt/novell/ncl/bin/novfsd
fi
eend $?
}
stop() {
ebegin "Stopping Novell novfs daemon"
start-stop-daemon --stop --quiet --name novfsd
eend $?
# ebegin "unMounting novell novfs"
# umount $NOVFS_MOUNT_PATH 2>/dev/null
#Check to see if mount point is still mounted
# mount | grep novfs 2>&1 > /dev/null
# eend $?
# ebegin "unLoading novell novfs kernel module"
# rmmod novfs
# eend $?
}
#restart() {
# (Commands necessary to restart the service)
#}

View File

@@ -1,3 +0,0 @@
MD5 2aab6c7358a733d1d8d9a4e893500a36 novell-client-1.2-SLE10.tar.gz 13963983
RMD160 98a0aa1ecd9c4f36c158fa2cce77f51927d2f693 novell-client-1.2-SLE10.tar.gz 13963983
SHA256 ddf55b7a757a4f4e104c4aefb04639f4022d43c31171d0a914d1b765d6e78241 novell-client-1.2-SLE10.tar.gz 13963983

View File

@@ -1,69 +0,0 @@
#!/sbin/runscript
NOVFS_MOUNT_PATH=/var/opt/novell/nclmnt
export XTIER_CODE_PAGE=`locale charmap`
export NCPL_DO_NOT_OVERWRITE_OPENLOG=1
depend() {
before xdm
need net slpd
after novell-xregd
}
#checkconfig() {
# if [ ! -e ${NDSD_CONFIGFILE} ] ; then
# eerror "Novell eDirectory server has not been configured."
# return 1
# fi
#}
start() {
export XTIER_CODE_PAGE=`locale charmap`
export NCPL_DO_NOT_OVERWRITE_OPENLOG=1
ebegin "Loading novell novfs kernel module"
#Try and start novfs
modprobe novfs
lsmod |grep novfs 2>&1 >/dev/null
eend $?
ebegin "Mounting novell novfs"
#Mount our filesystem
mount -t novfs novfs $NOVFS_MOUNT_PATH
eend $?
EnableNMAS=1
if [ -f /etc/opt/novell/ncl/login.conf ]; then
cat /etc/opt/novell/ncl/login.conf |grep "NMAS_Authentication=false" 2>&1 >/dev/null
if [ $? -eq 0 ]; then
EnableNMAS=0
fi
fi
if [ $EnableNMAS -eq 0 ]; then
ebegin "Starting novell novfs daemon with NMAS-Authentication"
start-stop-daemon --start --quiet --exec /opt/novell/ncl/bin/novfsd -- -m
else
ebegin "Starting novell novfs daemon"
start-stop-daemon --start --quiet --exec /opt/novell/ncl/bin/novfsd
fi
eend $?
}
stop() {
ebegin "Stopping Novell eDirectory server"
start-stop-daemon --stop --quiet --name novfsd
eend $?
# ebegin "unMounting novell novfs"
# umount $NOVFS_MOUNT_PATH 2>/dev/null
#Check to see if mount point is still mounted
# mount | grep novfs 2>&1 > /dev/null
# eend $?
# ebegin "unLoading novell novfs kernel module"
# rmmod novfs
eend $?
}
#restart() {
# (Commands necessary to restart the service)
#}