QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2750|回复: 3

急急! Bummer, could not run '/etc/init.d/rcS': No such file or directory

[复制链接]
发表于 2009-8-25 14:53:53 | 显示全部楼层 |阅读模式
大家好,
我参照<<嵌入式软件开发及c语言实现--minigui剖析>>,在skyeye上运行armlinux
时,出现这个错误。/etc/init.d/rcS这个文件是存在的,但是为什么会出现这个错误呢?网上也有不少人遇到这个问题?
请各大哥指点迷津
谢谢!

[ 本帖最后由 cxc1000 于 2009-8-25 14:57 编辑 ]
发表于 2009-8-26 18:39:45 | 显示全部楼层

是不是没有可执行属性

是不是没有可执行属性
回复

使用道具 举报

 楼主| 发表于 2009-8-30 08:30:54 | 显示全部楼层
有可执行属性的
回复

使用道具 举报

发表于 2009-9-4 17:45:34 | 显示全部楼层

试试这个

#!/bin/sh


# Start all init scripts in /etc/init.d
# executing them in numerical order.
#
for i in /etc/init.d/S??* ;do

     # Ignore dangling symlinks (if any).
     [ ! -f "$i" ] && continue

     case "$i" in
        *.sh)
            # Source shell script for speed.
            (
                trap - INT QUIT TSTP
                set start
                . $i
            )
            ;;
        *)
            # No sh extension, so fork subprocess.
            $i start
            ;;
    esac
done
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-4-19 15:17 , Processed in 0.047191 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表