1#! /bin/bash
2
3if [ $# -eq 0 ]
4then
5    echo "usage: setnparentalcontrol [ID ....]"
6    echo "Sets the parental control infomation for nand application"
7    exit 0
8fi
9
10if $REVOLUTION_SDK_ROOT/x86/bin/tickleWBI "$REVOLUTION_SDK_ROOT/X86/bin/wbi.bin" -p $*
11then
12   echo "Successfully done. Set the parental level for nand application."
13else
14   echo "Failed to set the parental level for nand application."
15  exit 1
16fi
17
18echo
19echo "************************************************************************"
20echo "* If you make master data, you must execute makeWad before you do so!! *"
21echo "************************************************************************"
22echo
23