9 if [ "$INPUT_FILE" = "-" ]; then
10 echo "Reading backup from stdin..." >&2
11 elif [ "$INPUT_FILE" = "" ]; then
14 echo "Reading backup from $INPUT_FILE" >&2
21 echo "$line" >> /etc
/ipkg.conf
24 echo nvram
set "$line"
27 if grep "^Package: $line" /usr
/lib
/ipkg
/status
2>&1 > /dev
/null
; then
28 echo Package
"$line" already installed.
44 echo "Restoring /etc/ipkg.conf"
49 echo "Restoring nvram"
53 echo "Restoring packages"
58 echo "Deleting old files"
63 echo "Restore complete."
This page took 0.054065 seconds and 5 git commands to generate.