sslh: Move binary to /usr/sbin.

This commit is contained in:
Michael Tremer
2013-12-27 11:29:10 +01:00
parent 230eeac04d
commit 0206795e57
3 changed files with 7 additions and 9 deletions

View File

@@ -1,4 +1,2 @@
usr/local/sbin/sslh
#usr/local/share/man/man8/sslh.8.gz
etc/rc.d/init.d/sslh
#usr/local/bin/sslh
usr/sbin/sslh

View File

@@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = sslh
PAK_VER = 3
PAK_VER = 4
DEPS = ""
@@ -77,7 +77,7 @@ $(subst %,%_MD5,$(objects)) :
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && make install
cp $(DIR_APP)/sslh /usr/local/bin
cd $(DIR_APP) && make CFLAGS="$(CFLAGS)" $(MAKETUNING)
cd $(DIR_APP) && install -v -m 755 sslh /usr/sbin
@rm -rf $(DIR_APP)
@$(POSTBUILD)

View File

@@ -20,14 +20,14 @@ case "$1" in
exit 1
fi
loadproc /usr/local/bin/sslh -u nobody \
loadproc /usr/sbin/sslh -u nobody \
-p "${LOCAL_IP_ADDRESS}:443" -s localhost:222 -l localhost:444
evaluate_retval
;;
stop)
boot_mesg "Stopping SSLH Deamon..."
killproc /usr/local/bin/sslh
killproc /usr/sbin/sslh
evaluate_retval
;;
@@ -38,7 +38,7 @@ case "$1" in
;;
status)
statusproc /usr/local/bin/sslh
statusproc /usr/sbin/sslh
;;
*)