]>
git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - src/initscripts/init.d/sslh
2 # Begin $rc_base/init.d/sslh
4 # Based on sysklogd script from LFS-3.1 and earlier.
5 # Rewritten by Gerard Beekmans - gerard@linuxfromscratch.org
7 #$LastChangedBy: bdubbs $
8 #$Date: 2006-09-10 19:41:47 -0500 (Sun, 10 Sep 2006) $
15 boot_mesg
"Starting SSLH Deamon..."
16 loadproc
/usr
/local
/bin
/sslh
-u nobody
-p `cat /var/ipfire/red/local-ipaddress`:443 -s localhost
:222 -l localhost
:444
19 if ! grep -q "443:443" /var
/ipfire
/xtaccess
/config
; then
20 echo "tcp,0.0.0.0/0,443:443,on,0.0.0.0,SSLH" >> /var
/ipfire
/xtaccess
/config
21 /usr
/local
/bin
/setxtaccess
28 boot_mesg
"Stopping SSLH Deamon..."
29 killproc
/usr
/local
/bin
/sslh
40 statusproc
/usr
/local
/bin
/sslh
44 echo "Usage: $0 {start|stop|restart|status}"
49 # End $rc_base/init.d/sslh