Project

General

Profile

Download (267 Bytes) Statistics
| Branch: | Tag: | Revision:
1
#!/bin/sh
2

    
3
echo "Checking..."
4
if [ `tar tzPf $1 /etc/rc 2>/dev/null` ]; then
5
	echo "One moment, restoring ${1}..."
6
	tar xzPfU $1 -C /
7
	echo "Restore of $1 complete."
8
else
9
	echo "Could not locate backup ${1}. Available backups:"
10
	ls -lah /root | grep backup | more
11
fi
(78-78/94)