diff options
author | Christian Rößler | 2014-10-21 18:58:36 +0200 |
---|---|---|
committer | Christian Rößler | 2014-10-21 18:58:36 +0200 |
commit | e2b749ea2d55456cb485b9335b847c70701a16f0 (patch) | |
tree | c25cd5c2bd4243c8cf32edddb9f4a47447ff93a8 /satellit_installer/static_files/config_static_ip | |
parent | [SSPS] Static IP configuration embedded, to be tested. (diff) | |
download | setup-scripts-e2b749ea2d55456cb485b9335b847c70701a16f0.tar.gz setup-scripts-e2b749ea2d55456cb485b9335b847c70701a16f0.tar.xz setup-scripts-e2b749ea2d55456cb485b9335b847c70701a16f0.zip |
[SSPS] Minor beautification.
Diffstat (limited to 'satellit_installer/static_files/config_static_ip')
-rwxr-xr-x | satellit_installer/static_files/config_static_ip | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/satellit_installer/static_files/config_static_ip b/satellit_installer/static_files/config_static_ip index 1734f9b..0fe3a1e 100755 --- a/satellit_installer/static_files/config_static_ip +++ b/satellit_installer/static_files/config_static_ip @@ -22,10 +22,10 @@ ask_config() { backup_configs() { if [ -f /etc/network/interfaces ]; then - cp -p "$INTERFACES" "$INTERFACES.$DATUM" || \ + cp -p "$INTERFACES" "$INTERFACES.${DATUM}" || \ { echo "Could not $INTERFACES to backup location $INTERFACES.$DATUM - aborting."; \ exit 1 ; } - cp -p "$RESOLV" "$RESOLV.{DATUM}" || \ + cp -p "$RESOLV" "$RESOLV.${DATUM}" || \ { echo "Could not $RESOLV to backup location $RESOLV.$DATUM - aborting."; \ exit 1 ; } fi |