Revision 747c9ca9 devel/upload.in
b/devel/upload.in | ||
---|---|---|
33 | 33 |
|
34 | 34 |
NO_RESTART= |
35 | 35 |
NO_CRON= |
36 |
NO_DEBUG= |
|
36 | 37 |
hosts= |
37 | 38 |
while [ "$#" -gt 0 ]; do |
38 | 39 |
opt="$1" |
... | ... | |
43 | 44 |
--no-cron) |
44 | 45 |
NO_CRON=1 |
45 | 46 |
;; |
47 |
--no-debug) |
|
48 |
NO_DEBUG=1 |
|
49 |
;; |
|
46 | 50 |
-h|--help) |
47 | 51 |
echo "Usage: $0 [--no-restart] hosts..." |
48 | 52 |
exit 0 |
... | ... | |
78 | 82 |
install -D --mode=0755 doc/examples/ganeti.initd \ |
79 | 83 |
"$TXD/$SYSCONFDIR/init.d/ganeti" |
80 | 84 |
|
81 |
[ -f doc/examples/ganeti.default-debug ] && \ |
|
85 |
[ -f doc/examples/ganeti.default-debug -a -z "$NO_DEBUG" ] && \
|
|
82 | 86 |
install -D --mode=0644 doc/examples/ganeti.default-debug \ |
83 | 87 |
"$TXD/$SYSCONFDIR/default/ganeti" |
84 | 88 |
|
Also available in: Unified diff