add r18 plug & testcode & mindmap

This commit is contained in:
JamesonHuang
2016-01-28 18:15:25 +08:00
parent fa4160ec02
commit ac497e45c4
108 changed files with 959321 additions and 3 deletions

View File

@ -0,0 +1,28 @@
#!/bin/sh
#*************************************************************************
# > File Name: testMainArgv.c
# > Description:
# > Conclusion:
# > Author: rh_Jameson
# > Created Time: 2016年01月13日 14时51分50秒
# ************************************************************************/
usage() {
cat <<EOF
Usage: $0 [down|detect|reload|status]
EOF
exit 1
}
start() {
./testMainArgv '123' '321' '123321'
}
case "$1" in
#down) wifi_updown "disable" "$2";;
start) start "$2" "$3" "$4";;
--help|help) usage;;
*) ubus call network reload; wifi_updown "enable" "$2";;
esac

View File

@ -1,13 +1,12 @@
/*************************************************************************
> File Name: testMainArgv.c
> File Name: main.c
> Description:
> Conclusion:
> Author: rh_Jameson
> Created Time: 2015年07月14星期二 12时59分50秒
> Created Time: 2016年01月1314时51分50秒
************************************************************************/
#include <stdio.h>
#include <stdlib.h>
int main(int argc,char *argv[])
{
printf("参数个数= %d\n", argc);