Revert to using /bin/sh instead of /bin/bash to improve compatibility with embedded systems such as Synology Diskstation
This commit is contained in:
parent
7dfec0a9bd
commit
a149713993
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
|
||||
if [ "$1" == "" ]; then
|
||||
echo "Usage: $(basename $0) <rsnapshot config>"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
|
||||
home_dir=$1
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
##
|
||||
# rs-add-ssh-key
|
||||
# Copyright (C) 2013 by Janek Bevendorff
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
##
|
||||
# rs-add-user
|
||||
# Copyright (C) 2013 by Janek Bevendorff
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
# Create daily, weekly or monthly snapshots from manual push backups
|
||||
|
||||
if [ "$1" == "" ]; then
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
|
||||
. /etc/rs-backup/server-config
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue