1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2025-04-21 12:27:27 +03:00

move all nanonote openwrt package file to this repo

This commit is contained in:
Xiangfu Liu
2011-01-28 15:25:54 +08:00
parent 91d3fea2ec
commit fbcbd879ba
197 changed files with 2148 additions and 0 deletions

12
nanonote/scripts/services.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/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