25523058f0
git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@1260 2a923420-c742-0410-a762-8d5b09965624
19 lines
348 B
Bash
Executable File
19 lines
348 B
Bash
Executable File
#!/bin/sh
|
|
|
|
[ -n "$QUERY_STRING" ] && rma="${QUERY_STRING##*=}" || rma=0
|
|
|
|
echo "Content-Type: text/plain"
|
|
echo
|
|
|
|
if [ "$rma" = 1 ]; then
|
|
modver="`cat /etc/modversion`"
|
|
if [ "$modver" -ge 215 ]; then
|
|
touch /var/lib/humaxtv_backup/.rma
|
|
else
|
|
touch /var/lib/humaxtv/.rma
|
|
fi
|
|
else
|
|
touch /var/lib/humaxtv/mod/_RESET_CUSTOM_FIRMWARE_ENVIRONMENT
|
|
fi
|
|
|