[Lunar-commits] <moonbase> smartmontools: add -n at the daemon start. so, it will not fork in the background.
Florin Braescu
florin at lunar-linux.org
Sun Dec 14 12:24:40 CET 2008
commit 57617ac94d3341e9bf0323a206592a0d7bc2d007
Author: Florin Braescu <florin at lunar-linux.org>
Date: Sun Dec 14 13:24:40 2008 +0200
smartmontools: add -n at the daemon start. so, it will not fork in the background.
---
utils/smartmontools/init.d/smartd | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/utils/smartmontools/init.d/smartd b/utils/smartmontools/init.d/smartd
index c50ca7c..c1d1ee4 100755
--- a/utils/smartmontools/init.d/smartd
+++ b/utils/smartmontools/init.d/smartd
@@ -9,7 +9,7 @@
start ()
{
echo -n "Starting smartd: "
- /usr/sbin/smartd &&
+ /usr/sbin/smartd -n &&
echo -e $RESULT_OK || echo -e $RESULT_FAIL
}
More information about the Lunar-commits
mailing list