Committed by
Gerrit Code Review
rsdoc for linux
Change-Id: I1e24a76c6c0447dca3308b26b1c0d76b1ff5dd73
Showing
1 changed file
with
6 additions
and
1 deletions
... | @@ -6,4 +6,9 @@ | ... | @@ -6,4 +6,9 @@ |
6 | host=${1:-$OCI} | 6 | host=${1:-$OCI} |
7 | host=${host:-localhost} | 7 | host=${host:-localhost} |
8 | 8 | ||
9 | -open http://$host:8181/onos/v1/docs | 9 | +unamestr=`uname` |
10 | +if [[ "$unamestr" == 'Linux' ]]; then | ||
11 | + xdg-open http://$host:8181/onos/v1/docs | ||
12 | +else | ||
13 | + open http://$host:8181/onos/v1/docs | ||
14 | +fi | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or login to post a comment