mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 15:02:50 +02:00
Origin commit data
------------------
Branch: ni/coolstream
Commit: 93ca7b0ef1
Author: vanhofen <vanhofen@gmx.de>
Date: 2020-11-26 (Thu, 26 Nov 2020)
Origin message was:
------------------
- data/scripts: remove some hardcoded paths
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
16 lines
266 B
Bash
16 lines
266 B
Bash
#!/bin/sh
|
|
|
|
. /etc/init.d/globals
|
|
|
|
BAKF="/var/backup_flash.tar.gz"
|
|
|
|
if [ -e ${BAKF} ]; then
|
|
SHOWINFO "restore settings from ${BAKF} ..."
|
|
cd / && tar -xzf "${BAKF}"
|
|
sync
|
|
rm -rf "${BAKF}"
|
|
SHOWINFO "done."
|
|
else
|
|
SHOWINFO "${BAKF} not found. nothing to restore!"
|
|
fi
|