From 37713c2dd4d193c8aaba6f8eda79b78d5edfb2ed Mon Sep 17 00:00:00 2001 From: Timofey Titovets Date: Thu, 29 Dec 2016 13:14:17 +0300 Subject: [PATCH] Scripts: Remove code for short path name in log Commit: "log: remove path from thread name" remove path from logs, so this useless Signed-off-by: Timofey Titovets --- scripts/beesd | 8 ++------ scripts/beesd.conf.sample | 3 --- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/scripts/beesd b/scripts/beesd index f2185b1..a30e32c 100755 --- a/scripts/beesd +++ b/scripts/beesd @@ -97,10 +97,6 @@ fi chmod 700 "$DB_PATH" } -if YN "$LOG_SHORT_PATH"; then - cd "$MNT_DIR" || exit 1 - bees . -else - bees "$MNT_DIR" -fi +bees "$MNT_DIR" + exit 0 diff --git a/scripts/beesd.conf.sample b/scripts/beesd.conf.sample index c41e275..29bdda4 100644 --- a/scripts/beesd.conf.sample +++ b/scripts/beesd.conf.sample @@ -12,9 +12,6 @@ UUID=5d3c0ad5-bedf-463d-8235-b4d4f6f99476 # BEESHOME="$MNT_DIR/.beeshome" # BEESSTATUS="$WORK_DIR/$UUID.status" -## Make path shorter in logs -# LOG_SHORT_PATH=N - ## Bees DB size # Hash Table Sizing # sHash table entries are 16 bytes each