Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...
|
[SSI] openssi/openssi-tools/distro/debian/sysv-rc/etc/init.d debian.lock,NO: msg#00063
|
Subject: |
[SSI] openssi/openssi-tools/distro/debian/sysv-rc/etc/init.d debian.lock,NONE,1.1 |
Update of
/cvsroot/ssic-linux/openssi/openssi-tools/distro/debian/sysv-rc/etc/init.d
In directory sc8-pr-cvs1:/tmp/cvs-serv31276
Added Files:
debian.lock
Log Message:
Debian lock creating script so that onsvc command works
--- NEW FILE: debian.lock ---
#!/bin/bash
# /etc/init.d/debian.lock for Debian ( used by initscripts so that onsvc will
work )
# Authors: Aneesh Kumar K.V ( aneesh.kumar@xxxxxxxxxxx )
script_file=$1
action=$2
subsys=${script_file#/etc/init.d/}
#Execute the script with all the arguments
$*
RC=$?
if [ $RC -eq 0 ]; then
if [ $action = x"start" ]; then
touch /var/lock/subsys/$subsys
elif [ $action = x"stop" ]; then
rm /var/lock/subsys/$subsys
fi
fi
#other script will check the exit status of startup scripts
exit $RC
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
|
| |