1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

r15872: Take one step toward getting this working on AIX. the [-z ] stuff

doesn't work there.
This commit is contained in:
Jim McDonough 2006-05-24 19:07:21 +00:00 committed by Gerald (Jerry) Carter
parent ece5fe3e78
commit 0ee78d96d9

View File

@ -40,7 +40,7 @@ samba3_check_or_start() {
rm -f $NMBD_TEST_LOG
echo -n "STARTING NMBD..."
((
if [ -z "$NMBD_MAXTIME" ]; then
if ! test -n "$NMBD_MAXTIME"; then
NMBD_MAXTIME=2700
fi
timelimit $NMBD_MAXTIME $NMBD_VALGRIND $SRCDIR/bin/nmbd -F -S --no-process-group -d0 -s $SERVERCONFFILE > $NMBD_TEST_LOG 2>&1 &
@ -69,7 +69,7 @@ samba3_check_or_start() {
rm -f $SMBD_TEST_LOG
echo -n "STARTING SMBD..."
((
if [ -z "$SMBD_MAXTIME" ]; then
if ! test -n "$SMBD_MAXTIME"; then
SMBD_MAXTIME=2700
fi
timelimit $SMBD_MAXTIME $SMBD_VALGRIND $SRCDIR/bin/smbd -F -S --no-process-group -d0 -s $SERVERCONFFILE > $SMBD_TEST_LOG 2>&1 &