Skip to content

Commit

Permalink
Update parked terms
Browse files Browse the repository at this point in the history
  • Loading branch information
jarelllama authored Mar 28, 2024
1 parent d695003 commit ac14128
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions config/parked_terms.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,4 @@ this account has been suspended
to purchase, call buydomains.com
url=/cgi-sys/defaultwebpage.cgi
use this domain
brand new domain
8 changes: 5 additions & 3 deletions parked.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,18 @@ function add_unparked_domains {
touch unparked_domains.tmp
printf "\nChecking for domains that have been unparked.\n"

# Split into 10 equal files
split -d -l $(($(wc -l < "$parked_domains_file")/10)) "$parked_domains_file"
# Split into 12 equal files
split -d -l $(($(wc -l < "$parked_domains_file")/12)) "$parked_domains_file"
check_for_unparked "x00" & check_for_unparked "x01" &
check_for_unparked "x02" & check_for_unparked "x03" &
check_for_unparked "x04" & check_for_unparked "x05" &
check_for_unparked "x06" & check_for_unparked "x07" &
check_for_unparked "x08" & check_for_unparked "x09" &
check_for_unparked "x10" & check_for_unparked "x11"
check_for_unparked "x10" & check_for_unparked "x11" &
check_for_unparked "x12" & check_for_unparked "x13"
wait


[[ ! -s unparked_domains.tmp ]] && return
format_list unparked_domains.tmp

Expand Down

0 comments on commit ac14128

Please sign in to comment.