Files
neutrino/data/scripts/restore.sh
satbaby 6478f625d3 -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
2011-04-01 14:13:29 +00:00

15 lines
164 B
Bash
Executable File

#!/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
tar xf $1
sync
sync
reboot -f