1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
hi, |
5 |
|
6 |
ich wollte mir einen Rsync Mirror einrichten, was auch soweit |
7 |
funktioniert, nur das Cron Script streubt sich: |
8 |
|
9 |
/bin/bash: /opt/gentoo-rsync/rsync-gentoo-portage.sh: /bin/bash: bad |
10 |
interpreter: No such file or directory |
11 |
05:00:00 Job /opt/gentoo-rsync/rsync-gentoo-portage.sh terminated (exit |
12 |
status: 126) (mailing output) |
13 |
|
14 |
========================================= |
15 |
#!/bin/bash |
16 |
|
17 |
source /etc/rsync/gentoo-mirror.conf |
18 |
|
19 |
echo "Started update at" `date` >> $0.log 2>&1 |
20 |
logger -t rsync "re-rsyncing the gentoo-portage tree" |
21 |
${RSYNC} ${OPTS} ${SRC} ${DST} >> $0.log 2>&1 |
22 |
logger -t rsync "deleting spurious Changelog files" |
23 |
find ${DST} -iname ".ChangeLog*" | xargs rm -rf |
24 |
|
25 |
echo "End: "`date` >> $0.log 2>&1 |
26 |
======================================== |
27 |
|
28 |
/opt/gentoo-rsync/rsync-gentoo-portage.sh |
29 |
: bad interpreter: No such file or directorye.sh: /bin/bash |
30 |
|
31 |
Weiß jemand was? |
32 |
|
33 |
cu denny |
34 |
-----BEGIN PGP SIGNATURE----- |
35 |
Version: GnuPG v1.4.1 (Darwin) |
36 |
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org |
37 |
|
38 |
iD8DBQFDssfsKlzhkqt9P+ARAmopAJ4/YhC0eHaR0QJ3tXwWU6ZfSrZaoQCfXonZ |
39 |
9oXDMZBnMHTJDOzKz9R7HQ4= |
40 |
=rXIm |
41 |
-----END PGP SIGNATURE----- |
42 |
-- |
43 |
gentoo-user-de@g.o mailing list |