mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
NI \o/
Origin commit data
------------------
Branch: ni/coolstream
Commit: d6b3754c6f
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-05-19 (Thu, 19 May 2016)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
15
data/scripts/restore_flash.sh
Normal file
15
data/scripts/restore_flash.sh
Normal file
@@ -0,0 +1,15 @@
|
||||
#!/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
|
Reference in New Issue
Block a user