summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryangyan <yangyanyj@chinamobile.com>2019-04-02 16:35:42 +0800
committeryangyan <yangyanyj@chinamobile.com>2019-04-02 16:36:44 +0800
commit8dabdab1970c332ed66a6f815608cc06f254fdff (patch)
tree77251dbde9859e1d767b97a29434117be6245a2b
parentec6cbe7e2f8561e481d4d6a92d459ea6a5d5afa2 (diff)
Increase sh file execution privileges
Change-Id: If2a51eb7e6b0b7bd0d1d17c908a9a2c4cb878c96 Issue-ID: VFC-1330 Signed-off-by: yangyan <yangyanyj@chinamobile.com>
-rwxr-xr-xlcm/docker/docker-entrypoint.sh2
-rwxr-xr-xlcm/resources/bin/initDB.sh4
2 files changed, 2 insertions, 4 deletions
diff --git a/lcm/docker/docker-entrypoint.sh b/lcm/docker/docker-entrypoint.sh
index ed413828..f791bcfc 100755
--- a/lcm/docker/docker-entrypoint.sh
+++ b/lcm/docker/docker-entrypoint.sh
@@ -1,5 +1,7 @@
#!/bin/bash
+find /service -name '*.sh'|xargs chmod a+x
+
if [ -z "$SERVICE_IP" ]; then
export SERVICE_IP=`hostname -i`
fi
diff --git a/lcm/resources/bin/initDB.sh b/lcm/resources/bin/initDB.sh
index 8c97edcb..764ac1ac 100755
--- a/lcm/resources/bin/initDB.sh
+++ b/lcm/resources/bin/initDB.sh
@@ -15,10 +15,6 @@
# limitations under the License.
#
-######
-#test for vfc-db
-######
-
DIRNAME=`dirname $0`
HOME=`cd $DIRNAME/; pwd`
MYSQL_USER=$1