Big update across all branches
This commit is contained in:
69
branches/experimental/net-fs/novell-novfsd/files/1.2.0_p8/novfsd
Executable file
69
branches/experimental/net-fs/novell-novfsd/files/1.2.0_p8/novfsd
Executable file
@@ -0,0 +1,69 @@
|
||||
#!/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)
|
||||
#}
|
||||
69
branches/experimental/net-fs/novell-novfsd/files/2.0.0_p20/novfsd
Executable file
69
branches/experimental/net-fs/novell-novfsd/files/2.0.0_p20/novfsd
Executable file
@@ -0,0 +1,69 @@
|
||||
#!/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)
|
||||
#}
|
||||
@@ -0,0 +1,5 @@
|
||||
NOVELL_CLIENT_DIR=/opt/novell/ncl
|
||||
PATH=/opt/novell/ncl/bin
|
||||
ROOTPATH=/opt/novell/ncl/bin
|
||||
LDPATH=/opt/novell/lib
|
||||
PRELINK_PATH_MASK=/opt/novell/lib:/opt/novell/ncl/bin
|
||||
@@ -0,0 +1,3 @@
|
||||
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
|
||||
@@ -0,0 +1,6 @@
|
||||
MD5 476f30aa3db4de7b884b2085f89b837b Novell_Client_SLED10-i386-2007531-CD1.iso 10256384
|
||||
RMD160 5296935f1b2b5cb0796b685f5c6bacd532f49094 Novell_Client_SLED10-i386-2007531-CD1.iso 10256384
|
||||
SHA256 3433f30fed62339de2fe12426e4e4e064ec4823073d2271531d7a1009f9cdecf Novell_Client_SLED10-i386-2007531-CD1.iso 10256384
|
||||
MD5 94c4812cfd6400e3e9360de01cb9d304 Novell_Client_SLED10-x86_64-2007531-CD1.iso 11108352
|
||||
RMD160 9b5a8704e518ac7ce1d9d03a890e77a67610cbaa Novell_Client_SLED10-x86_64-2007531-CD1.iso 11108352
|
||||
SHA256 f170dad7e9774d6b55186228f0ed3de512b09255d5d19f54e86964a327b62806 Novell_Client_SLED10-x86_64-2007531-CD1.iso 11108352
|
||||
69
branches/experimental/net-fs/novell-novfsd/files/novfsd12.initd
Executable file
69
branches/experimental/net-fs/novell-novfsd/files/novfsd12.initd
Executable file
@@ -0,0 +1,69 @@
|
||||
#!/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)
|
||||
#}
|
||||
Reference in New Issue
Block a user