mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +02:00
Origin commit data
------------------
Commit: d6b3754c6f
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-05-19 (Thu, 19 May 2016)
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
|