blob: 344109d16a12be497379f49885cc0e7833393ecf (
plain)
1
2
3
4
5
6
7
8
|
#!/bin/sh
set -xeuf
WEBDIR=${WEBDIR:-/srv/http/pub/retiolum}
HOSTFILE=$WEBDIR/hosts.tar
cd $(dirname $(readlink -f $0))
#rm $HOSTFILE
tar cf $HOSTFILE -C ../hosts .
chmod a+rx $HOSTFILE
|