Revert to using /bin/sh instead of /bin/bash to improve compatibility with embedded systems such as Synology Diskstation

This commit is contained in:
Janek Bevendorff 2014-09-13 01:18:40 +02:00
parent 7dfec0a9bd
commit a149713993
7 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
if [ "$1" == "" ]; then
echo "Usage: $(basename $0) <rsnapshot config>"

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
home_dir=$1

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
##
# rs-add-ssh-key
# Copyright (C) 2013 by Janek Bevendorff

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
##
# rs-add-user
# Copyright (C) 2013 by Janek Bevendorff

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
# Create daily, weekly or monthly snapshots from manual push backups
if [ "$1" == "" ]; then

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
. /etc/rs-backup/server-config

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
# Check if disk has been used since last check and spin it down if not
if [ "${1}" == "" ]; then