导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页

    请问tina /etc/rc.d/ 里面的初始化脚本是按字典顺序执行吗?

    MR Series
    2
    4
    1778
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • tigger
      tigger LV 7 最后由 编辑

      root@TinaLinux:/# ls /etc/rc.d/S* -l
      lrwxrwxrwx    1 root     root            20 Apr  6  2022 /etc/rc.d/S00sysfixtime -> ../init.d/sysfixtime
      lrwxrwxrwx    1 root     root            14 Apr  6  2022 /etc/rc.d/S10boot -> ../init.d/boot
      lrwxrwxrwx    1 root     root            14 Apr  6  2022 /etc/rc.d/S10dbus -> ../init.d/dbus
      lrwxrwxrwx    1 root     root            16 Apr  6  2022 /etc/rc.d/S10system -> ../init.d/system
      lrwxrwxrwx    1 root     root            16 Apr  6  2022 /etc/rc.d/S11sysctl -> ../init.d/sysctl
      lrwxrwxrwx    1 root     root            17 Apr  6  2022 /etc/rc.d/S20network -> ../init.d/network
      lrwxrwxrwx    1 root     root            15 Apr  6  2022 /etc/rc.d/S40fstab -> ../init.d/fstab
      lrwxrwxrwx    1 root     root            14 Apr  6  2022 /etc/rc.d/S50cron -> ../init.d/cron
      lrwxrwxrwx    1 root     root            18 Apr  6  2022 /etc/rc.d/S50dropbear -> ../init.d/dropbear
      lrwxrwxrwx    1 root     root            17 Apr  6  2022 /etc/rc.d/S60dnsmasq -> ../init.d/dnsmasq
      lrwxrwxrwx    1 root     root            14 Apr  6  2022 /etc/rc.d/S80adbd -> ../init.d/adbd
      lrwxrwxrwx    1 root     root            14 Apr  6  2022 /etc/rc.d/S80udev -> ../init.d/udev
      lrwxrwxrwx    1 root     root            14 Apr  6  2022 /etc/rc.d/S95done -> ../init.d/done
      lrwxrwxrwx    1 root     root            24 Apr  6  2022 /etc/rc.d/S96wpa_supplicant -> ../init.d/wpa_supplicant
      lrwxrwxrwx    1 root     root            13 Apr  6  2022 /etc/rc.d/S98mtp -> ../init.d/mtp
      lrwxrwxrwx    1 root     root            14 Apr  6  2022 /etc/rc.d/S98play -> ../init.d/play
      lrwxrwxrwx    1 root     root            17 Apr  6  2022 /etc/rc.d/S98sysntpd -> ../init.d/sysntpd
      lrwxrwxrwx    1 root     root            21 Apr  6  2022 /etc/rc.d/S99lv_examples -> ../init.d/lv_examples
      lrwxrwxrwx    1 root     root            18 Apr  6  2022 /etc/rc.d/S99lvgldemo -> ../init.d/lvgldemo
      lrwxrwxrwx    1 root     root            29 Apr  6  2022 /etc/rc.d/S99swupdate_autorun -> ../init.d/S99swupdate_autorun
      lrwxrwxrwx    1 root     root            18 Apr  6  2022 /etc/rc.d/S99tinatest -> ../init.d/tinatest
      lrwxrwxrwx    1 root     root            15 Apr  6  2022 /etc/rc.d/S99ucgui -> ../init.d/ucgui
      
      1 条回复 最后回复 回复 引用 分享 0
      • tigger
        tigger LV 7 最后由 编辑

        [    6.147927] procd: - init -
        Please press Enter to activate this console.
        [    6.282949]
        [    6.282949] insmod_device_driver
        [    6.282949]
        [    6.559613] udevd[151]: starting version 3.2.9
        -------------------ucgui --------------------
        -------------------ucgui --------------------
        ........
        [   22.349162] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
        [   22.724196] EXT4-fs (mmcblk0p5): warning: mounting unchecked fs, running e2fsck is recommended
        [   23.605463] EXT4-fs (mmcblk0p5): re-mounted. Opts: (null)
        ------------boot-play---------------
        ------------boot-play---------------
        [   25.388938] [SNDCODEC][sunxi_card_hw_params][620]:stream_flag: 0
        Trying to connect to SWUpdate...
        
        
        BusyBox v1.27.2 () built-in shell (ash)
        
         _____  _              __     _
        |_   _||_| ___  _ _   |  |   |_| ___  _ _  _ _
          | |   _ |   ||   |  |  |__ | ||   || | ||_'_|
          | |  | || | || _ |  |_____||_||_|_||___||_,_|
          |_|  |_||_|_||_|_|  Tina is Based on OpenWrt!
         ----------------------------------------------
         Tina Linux (Neptune, 5C1C9C53)
         ----------------------------------------------
        root@TinaLinux:/#
        

        不知道为啥 /etc/rc.d/S99ucgui 要先执行,
        然后才执行 /etc/rc.d/S98play

        W 1 条回复 最后回复 回复 引用 分享 0
        • W
          WM_CH LV 3 @tigger 最后由 编辑

          @tigger 我觉得你可以加个echo试试,,,,,,,,,,

          tigger 1 条回复 最后回复 回复 引用 分享 0
          • tigger
            tigger LV 7 @WM_CH 最后由 编辑

            @wm_ch
            嗯,我就是加 echo 命令测试出来的,上面日志里面就是echo显示的。

            1 条回复 最后回复 回复 引用 分享 0
            • 1 / 1
            • First post
              Last post

            Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

            行为准则 | 用户协议 | 隐私权政策