added option to pass options
This commit is contained in:
parent
875e4ef219
commit
fa336745be
|
@ -1,2 +1,3 @@
|
|||
#!/bin/sh
|
||||
/usr/local/bin/rsync -va /etc /var/www/htdocs /home/mischa backup.openbsd.amsterdam::obsdams/$(hostname -s)
|
||||
OPTIONS=${1:--qa}
|
||||
/usr/local/bin/rsync ${OPTIONS} /etc /var/www/htdocs /home/mischa backup.openbsd.amsterdam::obsdams/$(hostname -s)
|
||||
|
|
Loading…
Reference in New Issue