zoukankan      html  css  js  c++  java
  • (十一)tina | openwrt关闭调试串口(DEBUG UART)

    //编辑以下文件

    vi target/allwinner/astar-parrot/base-files/etc/inittab  //不同系统文件路径注意更改
    //文件内容如下,注释::askconsole:/bin/ash --login这条内容
    ::sysinit:/etc/init.d/rcS S boot
    ::shutdown:/etc/init.d/rcS K shutdown
    #::askconsole:/bin/ash --login
    //再次编译以下文件:
    vi package/base-files/files/etc/config/system
    //内容如下    
    config system
            option 'conloglevel' '1'       //新加这条语句
            option 'kconloglevel' '1'      //新加这条语句
            option hostname TinaLinux
            option timezone Asia/Shanghai
            option timezone CST-8
            option log_file /root/.lastlog
            option log_size 512
            option log_buffer_size 64
     
    config timeserver ntp
            list server ntp5.aliyun.com
            list server 0.openwrt.pool.ntp.org
            list server 0.cn.pool.ntp.org
            option enable 1
            option enable_server 0
     
    config 'led'
            option 'name'           'red'
            option 'sysfs'          'led1'
            option 'brightness'     '120'
            option 'trigger'        'timer'
  • 相关阅读:
    CentOS下crond定时任务详细介绍
    js随机从数组中取出几个元素
    js复制内容加版权声明代码
    crond不执行原因分析
    2015年最全的移动WEB前端UI框架
    聊聊前端排序的那些事
    Linux下修改Mysql的用户(root)的密码
    SIPp常用脚本之三:UAC
    SIPp常用脚本之二:UAS
    SIPp常用脚本之一:register注册
  • 原文地址:https://www.cnblogs.com/zhangshenghui/p/11418742.html
Copyright © 2011-2022 走看看