Browse Source

Update sngrep.sh

FusionPBX 8 năm trước cách đây
mục cha
commit
d8704af6c9
1 tập tin đã thay đổi với 8 bổ sung0 xóa
  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