1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
| #!/bin/sh
|
| case "$1" in
| start)
| abootimg --create /opt/boot.img -k /opt/Image -r /initrd.image -s /opt/resource.img
| ./opt/npu_upgrade /MiniLoaderAll.bin uboot.img trust.img boot.img
| rm /initrd.image
| ;;
| stop)
| ;;
| restart|reload)
| $0 stop
| $0 start
| ;;
| *)
| echo "Usage: $0 {start|stop|restart}"
| exit 1
| esac
| exit 0
|
|