From 39a6bdbd51acf73e001d15af3b58faefacd3eacc Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 10 Oct 2012 14:31:15 -0400 Subject: [PATCH] make fscore_pb work better with debian and ubuntu --- support-d/fscore_pb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/support-d/fscore_pb b/support-d/fscore_pb index 26b2e244fa..d419a7a1e0 100755 --- a/support-d/fscore_pb +++ b/support-d/fscore_pb @@ -139,11 +139,9 @@ rm -fr $tmpdir mkdir -p $tmpdir cd $tmpdir - - wget --output-file=/dev/null --http-user=pastebin --http-password=freeswitch http://pastebin.freeswitch.org --post-file=$post_file -pb=`ls [0-9]*` +pb=`cat /tmp/fscore_pb.tmp/index.html | grep parent_pid | awk -F \" '{print $6}'` mv $post_file $tmpdir echo "Finished."