Add multiple IPs for specific package

brtkm

Verified User
Joined
Jul 17, 2014
Messages
20
Hello,

I have a lot of IPs in /usr/local/directadmin/admin/ip.list and I want add 3 IPs for package with name CUSTOM1 (package already exists) for new accounts. I think that for this I should use custom script but I don't know how do this.. For random 3 IPs from ip list file I use command

Code:
shuf -c 3 /usr/local/directadmin/admin/ip.list > /usr/local/directadmin/users/USERS/user_ip.list

Anybody can help me?
 
Back
Top