|
|
|
@ -49,7 +49,9 @@ case "$ACTION" in
|
|
|
|
|
# ignore generated reports
|
|
|
|
|
# ignore cryptobox.pl and index.html, as those are the same as
|
|
|
|
|
# /var/www/cryptobox (symbilic links)
|
|
|
|
|
diff -ruN --exclude=report --exclude=cryptobox.pl --exclude=index.html "`basename \"$MIRROR_ORIG_DIR\"`" "`basename \"$MIRROR_DIR\"`" | grep -v "^Binary files"
|
|
|
|
|
# replace the link name (/var/www/cryptobox) by its destination
|
|
|
|
|
# UGLY!
|
|
|
|
|
diff -ruN --exclude=report --exclude=cryptobox.pl --exclude=index.html "`basename \"$MIRROR_ORIG_DIR\"`" "`basename \"$MIRROR_DIR\"`" | grep -v "^Binary files" | sed 's#/var/www/cryptobox\t#/var/www/cgi-bin/cryptobox.pl\t#'
|
|
|
|
|
;;
|
|
|
|
|
stop )
|
|
|
|
|
/etc/init.d/ssh stop
|
|
|
|
|