修改配置文件为相对路径,不用再指定目录了

This commit is contained in:
ibuler
2014-11-01 22:46:41 +08:00
parent 838b10d3b6
commit 54da30d93b
8 changed files with 58 additions and 19 deletions

13
scripts/jumpserver.sh Normal file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
if [ $USER = 'admin' ] || [ $USER == 'root' ];then
echo ""
else
python /opt/jumpserver/jumpserver.py
if [ $USER == 'guanghongwei' ];then
echo
else
exit 3
echo
fi
fi

View File

@@ -0,0 +1 @@
pexpect == 3.3