Prechádzať zdrojové kódy

更新 'bin/start.sh'

lisha 1 rok pred
rodič
commit
806f54d198
1 zmenil súbory, kde vykonal 11 pridanie a 1 odobranie
  1. 11 1
      bin/start.sh

+ 11 - 1
bin/start.sh

@@ -1,2 +1,12 @@
 #!/bin/bash
-bash wrapper-compute-engine start
+
+default_hosts(){ 
+echo "**********************start /etc/hosts*****************************************" 
+	cat /etc/custom.dns | while read line; do echo $line >> /etc/hosts; done 
+	cat /etc/hosts 
+} 
+
+default_hosts 
+
+bash wrapper-compute-engine start
+tail -F -n 10 ../logs/wrapper.log