PKGBUILDs/aur/sabnzbd/addnzb.sh

5 lines
125 B
Bash
Raw Normal View History

2013-01-12 00:24:04 +00:00
#!/bin/sh
2011-05-17 22:02:46 +00:00
2013-01-12 00:24:04 +00:00
. /etc/conf.d/sabnzbd
curl -s -F apikey="$API_KEY" -F mode="addfile" -F name=@"$1" $URL/sabnzbd/api &> /dev/null