/usr/share/boinc-server/tools/xadd is in boinc-server-maker 7.0.24+dfsg-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | #!/usr/bin/env python
# $Id: xadd 18374 2009-06-11 15:38:48Z davea $
'''
Add platform and application records to the BOINC database.
Reads info from "project.xml", e.g.:
<boinc>
<platform>
<name>i686-pc-linux-gnu</name>
<user_friendly_name>Linux/x86</user_friendly_name>
</platform>
<app>
<name>astropulse</name>
<user_friendly_name>AstroPulse</user_friendly_name>
</app>
</boinc>
See http://boinc.berkeley.edu/tool_xadd.php
'''
import boinc_path_config
from Boinc import database, db_mid, projectxml
database.connect()
projectxml.default_project().commit_all()
|