[COMMON] Replace tabs by 4 ws in shell scripts
[oom.git] / kubernetes / sdnc / resources / config / bin / createLinks.sh
index 1999dab..d8a2025 100755 (executable)
@@ -4,8 +4,7 @@
 # ============LICENSE_START=======================================================
 # ONAP : SDN-C
 # ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights
-#                                                      reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
 # ================================================================================
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -27,11 +26,6 @@ then
     MDSAL_PATH=/opt/opendaylight/mdsal
 fi
 
-if [ "$DAEXIM_PATH" = "" ]
-then
-    DAEXIM_PATH=/opt/opendaylight/daexim
-fi
-
 if [ "$JOURNAL_PATH" = "" ]
 then
     JOURNAL_PATH=/opt/opendaylight/journal
@@ -42,18 +36,12 @@ then
     SNAPSHOTS_PATH=/opt/opendaylight/snapshots
 fi
 
-
-if [ ! -L $DAEXIM_PATH ]
-then
-    ln -s $MDSAL_PATH/daexim $DAEXIM_PATH
-fi
-
 if [ ! -L $JOURNAL_PATH ]
 then
     if [ -d $JOURNAL_PATH ]
     then
         mv $JOURNAL_PATH/* $MDSAL_PATH/journal
-       rm -f $JOURNAL_PATH
+        rm -f $JOURNAL_PATH
     fi
     ln -s $MDSAL_PATH/journal $JOURNAL_PATH
 fi
@@ -63,7 +51,7 @@ then
     if [ -d $SNAPSHOTS_PATH ]
     then
         mv $SNAPSHOTS_PATH/* $MDSAL_PATH/snapshots
-       rm -f $SNAPSHOTS_PATH
+        rm -f $SNAPSHOTS_PATH
     fi
     ln -s $MDSAL_PATH/snapshots $SNAPSHOTS_PATH
 fi