X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2Fbin%2Ffreeside-sqlradius-radacctd;h=7b2d04dc7348977be8e5dfd512ed1e7d6f9b3eea;hp=4c5c11a2d79021a7bd954d8cb8e62faa41155d26;hb=aed8ec35ccb9cdeb7ea0cb6ff2946f9d83d582f6;hpb=12587c5314c2a2ee40ab046af1552a40db5e0eaf diff --git a/FS/bin/freeside-sqlradius-radacctd b/FS/bin/freeside-sqlradius-radacctd index 4c5c11a2d..7b2d04dc7 100644 --- a/FS/bin/freeside-sqlradius-radacctd +++ b/FS/bin/freeside-sqlradius-radacctd @@ -32,8 +32,8 @@ daemonize2(); my @part_export = FS::part_export::sqlradius->all_sqlradius_withaccounting(); -die "no sqlradius, sqlradius_withdomain or radiator exports without". - " ignore_accounting" +die "no sqlradius, sqlradius_withdomain, radiator or phone_sqlradius exports". + " without ignore_accounting" unless @part_export; while (1) { @@ -55,7 +55,7 @@ while (1) { adminsuidsetup($user); #get our own db handle until ( sigint || sigterm ) { - $part_export->update_svc_acct(); + $part_export->update_svc(); sleep 1; }