Lines 80-86
Link Here
|
80 |
print 'Current DISTCC_HOSTS:',open('/etc/distcc/hosts', 'r').read() |
80 |
print 'Current DISTCC_HOSTS:',open('/etc/distcc/hosts', 'r').read() |
81 |
elif '--set-hosts' in tmpcmdline: |
81 |
elif '--set-hosts' in tmpcmdline: |
82 |
isroot() |
82 |
isroot() |
83 |
open('/etc/distcc/hosts', 'w').write(cmdline) |
83 |
open('/etc/distcc/hosts', 'w').write(cmdline + '\n') |
84 |
print 'Set DISTCC_HOSTS to:',cmdline |
84 |
print 'Set DISTCC_HOSTS to:',cmdline |
85 |
elif '--get-verbose' in tmpcmdline: |
85 |
elif '--get-verbose' in tmpcmdline: |
86 |
readenv('DISTCC_VERBOSE') |
86 |
readenv('DISTCC_VERBOSE') |
Lines 116-121
Link Here
|
116 |
permissions('/var/run/distccd/',user,group) |
116 |
permissions('/var/run/distccd/',user,group) |
117 |
|
117 |
|
118 |
else: |
118 |
else: |
119 |
print 'usage: /usr/bin/distcc-config --set-hosts DISTCC_HOSTS | --get-hosts' |
119 |
print 'Usage: /usr/bin/distcc-config --set-hosts DISTCC_HOSTS | --get-hosts' |
120 |
print ' /usr/bin/distcc-config --set-verbose { 0 | 1 } | --get-verbose' |
120 |
print ' /usr/bin/distcc-config --set-verbose { 0 | 1 } | --get-verbose' |
121 |
print ' /usr/bin/distcc-config --set-log FILE | --get-log' |
121 |
print ' /usr/bin/distcc-config --set-log FILE | --get-log' |
|
|
122 |
print ' /usr/bin/distcc-config --install' |
123 |
print 'See the Gentoo distcc Guide at http://www.gentoo.org/doc/en/distcc.xml for further information.' |