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:
vanhofen
2016-05-19 22:59:54 +02:00
parent 464a234940
commit a86bc779b4
251 changed files with 26673 additions and 443 deletions

View File

@@ -1,14 +1,19 @@
#!/bin/sh
echo Restore settings from $1
tar t -f $1 | grep ^config/ > /dev/null
if [ $? -eq 0 ]; then
cd /var/tuxbox
else
cd /
fi
. /etc/init.d/globals
BAKF="$1"
E=0
tar xf $1
sync
sleep 2
killall start_neutrino; E=$(($E+$?))
killall neutrino; E=$(($E+$?))
sleep 3
SHOWINFO "restore settings from "${BAKF}""
cd / && tar -xzf "${BAKF}"
sync
reboot -f
SHOWINFO "done."
test $E -eq 0 && reboot || reboot -f