Răsfoiți Sursa

#IQRV #comment [Scripts] 添加启动脚本

gifur 4 ani în urmă
părinte
comite
10a879aa43
1 a modificat fișierele cu 11 adăugiri și 0 ștergeri
  1. 11 0
      addin/startup_scripts/sudo_spexplorer.sh

+ 11 - 0
addin/startup_scripts/sudo_spexplorer.sh

@@ -0,0 +1,11 @@
+#!/bin/sh
+
+MY_PATH="`dirname \"$0\"`"              # relative
+MY_PATH="`( cd \"$MY_PATH\" && pwd )`"  # absolutized and normalized
+echo "2"$MY_PATH
+bootscripts=""
+bootscripts=$MY_PATH"/spexplorer.sh"
+echo $bootscripts
+chmod 766 $bootscripts
+sudo $bootscripts
+