File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#! /bin/sh
2-
3- # Install IPKs from python_setup directory
4- if [ -d " ./python_setup" ]; then
5- echo " Installing IPKs from ./python_setup..."
6- for ipk in ./python_setup/* .ipk; do
7- if [ -f " $ipk " ]; then
8- opkg install " $ipk "
9- else
10- echo " Warning: File not found: $ipk "
11- fi
12- done
13- else
14- echo " Warning: ./python_setup directory not found."
15- fi
16-
17- # Install IPKs from custom_setup directory
18- if [ -d " ./custom_setup" ]; then
19- echo " Installing IPKs from ./custom_setup..."
20- for ipk in ./custom_setup/* .ipk; do
21- if [ -f " $ipk " ]; then
22- opkg install " $ipk "
23- else
24- echo " Warning: File not found: $ipk "
25- fi
26- done
27- else
28- echo " Warning: ./custom_setup directory not found."
29- fi
30-
2+ opkg install ./python_setup/* .ipk
3+ opkg install ./custom_setup/* .ipk
314exit 0
325
You can’t perform that action at this time.
0 commit comments