mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 07:22:57 +02:00
fix for backups with old script
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1369 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Branch: ni/coolstream
Commit: 6478f625d3
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2011-04-01 (Fri, 01 Apr 2011)
Origin message was:
------------------
-fix for backups with old script
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1369 e54a6e83-5905-42d5-8d5c-058d10e6a962
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1,6 +1,13 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
echo Restore settings from $1
|
echo Restore settings from $1
|
||||||
|
|
||||||
|
tar t -f $1 | grep ^config/ > /dev/null
|
||||||
|
if [ $? -eq 0 ]; then
|
||||||
|
cd /var/tuxbox
|
||||||
|
else
|
||||||
cd /
|
cd /
|
||||||
|
fi
|
||||||
|
|
||||||
tar xf $1
|
tar xf $1
|
||||||
sync
|
sync
|
||||||
sync
|
sync
|
||||||
|
Reference in New Issue
Block a user