Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
Start script run on FreeBSD and likely other BSDs
Staff Silence906ce33bed91
diff --git a/startYACY.sh b/startYACY.shindex 157a42154..2df77a3ba 100755--- a/startYACY.sh+++ b/startYACY.sh@@ -49,17 +49,18 @@ USAGEYACY_PARENT_DATA_PATH="`dirname $0`"cd "$YACY_PARENT_DATA_PATH"-if [ $OS = "OpenBSD" ] || [ $OS = "Darwin" ]-then+case "$OS" in+ *"BSD"|"Darwin")if [ $(echo $@ | grep -o "\-\-" | wc -l) -ne 0 ]thenecho "WARNING: Unfortunately this script does not support long options in $OS."fioptions="`getopt hdlptsg: $*`"-else+case *)options="`getopt -u -n YaCy -o h,d,f,l,p,t,s,g -l help,debug,foreground,logging,print-out,tail-log,startup,gui -- $@`"-fi+;;+esacif [ $? -ne 0 ];then