mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 23:13:00 +02:00
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
20 lines
269 B
Bash
Executable File
20 lines
269 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. /etc/init.d/globals
|
|
|
|
BAKF="$1"
|
|
E=0
|
|
|
|
sync
|
|
sleep 2
|
|
killall start_neutrino; E=$(($E+$?))
|
|
killall neutrino; E=$(($E+$?))
|
|
sleep 3
|
|
|
|
SHOWINFO "restore settings from "${BAKF}""
|
|
cd / && tar -xzf "${BAKF}"
|
|
sync
|
|
SHOWINFO "done."
|
|
|
|
test $E -eq 0 && reboot || reboot -f
|