Commit 6d7354b0 authored by Jondy Zhao's avatar Jondy Zhao

Fix no found babeld process

parent eebdd8fb
...@@ -616,7 +616,7 @@ if (( $? )) ; then ...@@ -616,7 +616,7 @@ if (( $? )) ; then
which re6stnet > /dev/null 2>&1 || show_error_exit "Error: no re6stnet installed." which re6stnet > /dev/null 2>&1 || show_error_exit "Error: no re6stnet installed."
# re6st-conf --registry http://re6stnet.nexedi.com/ --is-needed # re6st-conf --registry http://re6stnet.nexedi.com/ --is-needed
# Check if babeld is running, so we guess whether re6stnet is running or not # Check if babeld is running, so we guess whether re6stnet is running or not
ps -ef | grep -q babeld.exe ps -ef | grep -q /usr/local/bin/babeld
if (( $? )) ; then if (( $? )) ; then
echo "Start re6stnet ..." echo "Start re6stnet ..."
# It need root rights to install tap-driver # It need root rights to install tap-driver
......
...@@ -68,7 +68,7 @@ if (( $? )) ; then ...@@ -68,7 +68,7 @@ if (( $? )) ; then
which re6stnet > /dev/null 2>&1 || show_error_exit "Error: no re6stnet installed, please run Configure SlapOS first." which re6stnet > /dev/null 2>&1 || show_error_exit "Error: no re6stnet installed, please run Configure SlapOS first."
# re6st-conf --registry http://re6stnet.nexedi.com/ --is-needed # re6st-conf --registry http://re6stnet.nexedi.com/ --is-needed
# Check if babeld is running, so we guess whether re6stnet is running or not # Check if babeld is running, so we guess whether re6stnet is running or not
ps -ef | grep -q babeld.exe ps -ef | grep -q /usr/local/bin/babeld
if (( $? )) ; then if (( $? )) ; then
echo "Start re6stnet ..." echo "Start re6stnet ..."
# It need root rights to install tap-driver # It need root rights to install tap-driver
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment