mirror of https://github.com/tp4a/teleport
change file format from dos to unix.
parent
9ab930bd55
commit
ac09bfa5b5
|
@ -1,18 +1,18 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [ `id -u` -ne 0 ];then
|
if [ `id -u` -ne 0 ];then
|
||||||
echo ""
|
echo ""
|
||||||
echo -e "\e[31mPlease run setup as root.\033[0m"
|
echo -e "\e[31mPlease run setup as root.\033[0m"
|
||||||
echo ""
|
echo ""
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
PATH_ROOT=$(cd "$(dirname "$0")"; pwd)
|
PATH_ROOT=$(cd "$(dirname "$0")"; pwd)
|
||||||
PATH_TARGET=/usr/local/eom
|
PATH_TARGET=/usr/local/eom
|
||||||
|
|
||||||
"${PATH_ROOT}/data/bin/tp_web" --py "${PATH_ROOT}/script/main.py"
|
"${PATH_ROOT}/data/bin/tp_web" --py "${PATH_ROOT}/script/main.py"
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo -e "\e[32mInstallation done.\033[0m"
|
echo -e "\e[32mInstallation done.\033[0m"
|
||||||
echo ""
|
echo ""
|
||||||
|
|
Loading…
Reference in New Issue