소스 검색

Update sngrep.sh

FusionPBX 8 년 전
부모
커밋
d8704af6c9
1개의 변경된 파일8개의 추가작업 그리고 0개의 파일을 삭제
  1. 8 0
      debian/resources/sngrep.sh

+ 8 - 0
debian/resources/sngrep.sh

@@ -1,5 +1,13 @@
 #!/bin/sh
 
+#move to script directory so all relative paths work
+cd "$(dirname "$0")"
+
+#includes
+. ./config.sh
+. ./colors.sh
+. ./environment.sh
+
 #add sngrep
 if [ ."$cpu_architecture" = ."arm" ]; then
 	#source install