mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2024-11-27 02:17:11 +02:00
47a4e5c3ab
On the "platform" sub-folder are located one folder for each platform gmenu2x supports. The "translations" folder is now the same for all platforms. The "skins" sub-folder contains directories which names defines the screen resolution of the contained skins (e.g. "320x240").
13 lines
280 B
Bash
Executable File
13 lines
280 B
Bash
Executable File
#!/bin/bash
|
|
# $1 = ip
|
|
# $2 = inet
|
|
# $3 = samba
|
|
# $4 = web
|
|
insmod net2272
|
|
insmod g_ether
|
|
ifconfig usb0 $1 netmask 255.255.255.0 up
|
|
# route add default gw $defaultgw
|
|
if [ $2 = "on" ]; then /etc/init.d/inet start; fi
|
|
if [ $3 = "on" ]; then smbd; fi
|
|
if [ $4 = "on" ]; then thttpd; fi
|