Gentoo Linux IIP startup script

"Dmitriy Shnayder" <[email protected]> Thu, 24 Apr 2003 15:28:12 +0000 (UTC)
Newsgroups gmane.comp.security.invisiblenet.iip.devel
Message-ID <[email protected]>
The script below is for those of you who are using IIP with Gentoo Linux. It runs IIP in the background when you boot your computer, and halts it when you shut down the computer.
To use the script, place it into the file /etc/init.d/isproxy, then run the command "rc-update add isproxy default". It should run the next time you boot.
-----Begin script-----
#!/sbin/runscript
depend() {
        need net
}
start() {
        ebegin "Starting IIP"
        /usr/local/bin/isproxy -Q
        eend $?
}
stop() {
        ebegin "Stopping IIP"
        /usr/local/bin/isproxy --kill -Q
        eend $?
}
-----End script-----
Yes, it is that simple. The script assumes that you have installed and configured IIP. I am working on a similar script for FreeBSD, and will post it when I complete it.


!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+
CryptoMail provides free end-to-end message encryption.  
http://www.cryptomail.org/   Ensure your right to privacy.
Traditional email messages are not secure.  They are sent as
clear-text and thus are readable by anyone with the motivation
to acquire a copy.
!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+