6/27/2011 2:55:30 PM
2011-06-28 09:41
375 查看
6/27/2011 2:55:30 PM
先抓个屏看看
编译一个可执行文件
抓的也是默认display的屏幕
命名自己自动加一个png后置
是不是绑定IP的逻辑有问题?
第一个通道上有视频 音频 控制等信令。
中文图片为 pacman.png
为什么网络不通的时候会失败啊?
电源管理的起停控制脚本为S88power-manager
inittab 是所有用户进程的父进程 系统初试化进程
OSSO-CORE inittab - see runlevel configuration proposal
# The default runlevel.
id:2:initdefault:
# default debian stuff
si::sysinit:/etc/init.d/rcS
~~:S:wait:/sbin/sulogin
l0:0:wait:/etc/init.d/minishutdown
l1:1:wait:/etc/init.d/rc 1
l2:2:wait:/etc/init.d/rc 2
l3:3:wait:/etc/init.d/rc 3
l4:4:wait:/etc/init.d/rc 4
l5:5:wait:/etc/init.d/rc 5
l6:6:wait:/etc/init.d/minireboot
# Normally not reached, but fallthrough in case of emergency.
z6:6:respawn:/sbin/sulogin
# What to do when CTRL-ALT-DEL is pressed.
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
# Action on special keypress (ALT-UpArrow).
kb::kbrequest:/bin/echo "Keyboard Request--edit /etc/inittab to let this work."
# What to do when the power fails/returns.
pf::powerwait:/etc/init.d/powerfail start
pn::powerfailnow:/etc/init.d/powerfail now
po::powerokwait:/etc/init.d/powerfail stop
# /sbin/getty invocations for the runlevels.
#
# The "id" field MUST be the same as the last
# characters of the device (after "tty").
# Format:
# <id>:<runlevels>:<action>:<process>
S2:2345:respawn: /sbin/getty -n -l /bin/autologin 115200 ttyS2 vt100
resc::bootwait:/usr/libexec/apt-worker rescue
标识 运行级别
活动
respawn 如果没有就异步重启进程
wait 等待启动后再启动其他的
#! /bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
source /etc/osso-af-init/af-defines.sh
case "$1" in
start)
/usr/sbin/dsmetool -n -1 -t /usr/bin/powermanager &
;;
stop)
echo "$0: not implemented"
;;
restart)
echo "$0: not implemented"
exit 1
;;
force-reload)
echo "$0: not implemented"
exit 1
;;
*)
echo "Usage: $0 {start|stop}"
exit 1
;;
esac
#! /bin/sh
#
# rc This file is responsible for starting/stopping
# services when the runlevel changes.
#
# Optimization feature:
# A startup script is _not_ run when the service was
# running in the previous runlevel and it wasn't stopped
# in the runlevel transition (most Debian services don't
# have K?? links in rc{1,2,3,4,5} )
#
# Author: Miquel van Smoorenburg <miquels@cistron.nl>
# Bruce Perens <Bruce@Pixar.com>
#
# Version: @(#)rc 2.78 07-Nov-1999 miquels@cistron.nl
#
# Un-comment the following for debugging.
# debug=echo
#
# Start script or program.
#
startup() {
case "$1" in
*.sh)
$debug sh "$@"
;;
*)
$debug "$@"
;;
esac
}
# Ignore CTRL-C only in this shell, so we can interrupt subprocesses.
trap ":" INT QUIT TSTP
# Set onlcr to avoid staircase effect.
#stty onlcr 0>&1
[ -f /etc/ptmalloc.conf ] && . /etc/ptmalloc.conf
# Now find out what the current and what the previous runlevel are.
runlevel=$RUNLEVEL
# Get first argument. Set new runlevel to this argument.
[ "$1" != "" ] && runlevel=$1
if [ "$runlevel" = "" ]
then
echo "Usage: $0 <runlevel>" >&2
exit 1
fi
previous=$PREVLEVEL
[ "$previous" = "" ] && previous=N
export runlevel previous
# Is there an rc directory for this new runlevel?
if [ -d /etc/rc$runlevel.d ]
then
# First, run the KILL scripts.
if [ $previous != N ]
then
for i in /etc/rc$runlevel.d/K[0-9][0-9]*
do
# Check if the script is there.
[ ! -f $i ] && continue
# Stop the service.
startup $i stop
done
fi
# Now run the START scripts for this runlevel.
for i in /etc/rc$runlevel.d/S*
do
[ ! -f $i ] && continue
if [ $previous != N ] && [ $previous != S ]
then
#
# Find start script in previous runlevel and
# stop script in this runlevel.
#
suffix=${i#/etc/rc$runlevel.d/S[0-9][0-9]}
stop=/etc/rc$runlevel.d/K[0-9][0-9]$suffix
previous_start=/etc/rc$previous.d/S[0-9][0-9]$suffix
#
# If there is a start script in the previous level
# and _no_ stop script in this level, we don't
# have to re-start the service.
#
[ -f $previous_start ] && [ ! -f $stop ] && continue
fi
case "$runlevel" in
0|6)
startup $i stop
;;
*)
startup $i start
;;
esac
done
fi
# eof /etc/init.d/rc
先抓个屏看看
编译一个可执行文件
抓的也是默认display的屏幕
命名自己自动加一个png后置
是不是绑定IP的逻辑有问题?
第一个通道上有视频 音频 控制等信令。
中文图片为 pacman.png
为什么网络不通的时候会失败啊?
电源管理的起停控制脚本为S88power-manager
inittab 是所有用户进程的父进程 系统初试化进程
OSSO-CORE inittab - see runlevel configuration proposal
# The default runlevel.
id:2:initdefault:
# default debian stuff
si::sysinit:/etc/init.d/rcS
~~:S:wait:/sbin/sulogin
l0:0:wait:/etc/init.d/minishutdown
l1:1:wait:/etc/init.d/rc 1
l2:2:wait:/etc/init.d/rc 2
l3:3:wait:/etc/init.d/rc 3
l4:4:wait:/etc/init.d/rc 4
l5:5:wait:/etc/init.d/rc 5
l6:6:wait:/etc/init.d/minireboot
# Normally not reached, but fallthrough in case of emergency.
z6:6:respawn:/sbin/sulogin
# What to do when CTRL-ALT-DEL is pressed.
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
# Action on special keypress (ALT-UpArrow).
kb::kbrequest:/bin/echo "Keyboard Request--edit /etc/inittab to let this work."
# What to do when the power fails/returns.
pf::powerwait:/etc/init.d/powerfail start
pn::powerfailnow:/etc/init.d/powerfail now
po::powerokwait:/etc/init.d/powerfail stop
# /sbin/getty invocations for the runlevels.
#
# The "id" field MUST be the same as the last
# characters of the device (after "tty").
# Format:
# <id>:<runlevels>:<action>:<process>
S2:2345:respawn: /sbin/getty -n -l /bin/autologin 115200 ttyS2 vt100
resc::bootwait:/usr/libexec/apt-worker rescue
标识 运行级别
活动
respawn 如果没有就异步重启进程
wait 等待启动后再启动其他的
#! /bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
source /etc/osso-af-init/af-defines.sh
case "$1" in
start)
/usr/sbin/dsmetool -n -1 -t /usr/bin/powermanager &
;;
stop)
echo "$0: not implemented"
;;
restart)
echo "$0: not implemented"
exit 1
;;
force-reload)
echo "$0: not implemented"
exit 1
;;
*)
echo "Usage: $0 {start|stop}"
exit 1
;;
esac
#! /bin/sh
#
# rc This file is responsible for starting/stopping
# services when the runlevel changes.
#
# Optimization feature:
# A startup script is _not_ run when the service was
# running in the previous runlevel and it wasn't stopped
# in the runlevel transition (most Debian services don't
# have K?? links in rc{1,2,3,4,5} )
#
# Author: Miquel van Smoorenburg <miquels@cistron.nl>
# Bruce Perens <Bruce@Pixar.com>
#
# Version: @(#)rc 2.78 07-Nov-1999 miquels@cistron.nl
#
# Un-comment the following for debugging.
# debug=echo
#
# Start script or program.
#
startup() {
case "$1" in
*.sh)
$debug sh "$@"
;;
*)
$debug "$@"
;;
esac
}
# Ignore CTRL-C only in this shell, so we can interrupt subprocesses.
trap ":" INT QUIT TSTP
# Set onlcr to avoid staircase effect.
#stty onlcr 0>&1
[ -f /etc/ptmalloc.conf ] && . /etc/ptmalloc.conf
# Now find out what the current and what the previous runlevel are.
runlevel=$RUNLEVEL
# Get first argument. Set new runlevel to this argument.
[ "$1" != "" ] && runlevel=$1
if [ "$runlevel" = "" ]
then
echo "Usage: $0 <runlevel>" >&2
exit 1
fi
previous=$PREVLEVEL
[ "$previous" = "" ] && previous=N
export runlevel previous
# Is there an rc directory for this new runlevel?
if [ -d /etc/rc$runlevel.d ]
then
# First, run the KILL scripts.
if [ $previous != N ]
then
for i in /etc/rc$runlevel.d/K[0-9][0-9]*
do
# Check if the script is there.
[ ! -f $i ] && continue
# Stop the service.
startup $i stop
done
fi
# Now run the START scripts for this runlevel.
for i in /etc/rc$runlevel.d/S*
do
[ ! -f $i ] && continue
if [ $previous != N ] && [ $previous != S ]
then
#
# Find start script in previous runlevel and
# stop script in this runlevel.
#
suffix=${i#/etc/rc$runlevel.d/S[0-9][0-9]}
stop=/etc/rc$runlevel.d/K[0-9][0-9]$suffix
previous_start=/etc/rc$previous.d/S[0-9][0-9]$suffix
#
# If there is a start script in the previous level
# and _no_ stop script in this level, we don't
# have to re-start the service.
#
[ -f $previous_start ] && [ ! -f $stop ] && continue
fi
case "$runlevel" in
0|6)
startup $i stop
;;
*)
startup $i start
;;
esac
done
fi
# eof /etc/init.d/rc
相关文章推荐
- 8/27/2011 2:55:44 PM
- 6/27/2011 4:55:57 PM
- 8/30/2011 4:09:14 PM
- 翻译:Libevent参考手册第一章:设置libevent (2011-03-30 07:56:42)
- Dynamics CRM 2011 编程系列(27):使用触发器
- text1.txt begin10 11 12 20 21 22 30 31 32 end text2.txt begin 15 16 17 25 26 27 35 36 37 得到text3.txt
- 6/25/2011 8:25:05 PM
- 8/17/2011 1:40:45 PM
- 华为机试题目(回忆版)_2011-09_27
- E2011-1-30_Which is Better: Forms Servlet or Socket Mode?
- 30/01/2011
- 6/20/2011 9:01:25 PM
- 6/25/2011 9:30:09 PM
- 6/27/2011 9:12:22 AM
- 2011-10-27 使用centos操作记录
- ZERO网络小说自助推广助手[起点17K逐浪刷点刷票][联系QQ:535021617 在线时间PM7:30以后](2007-10-15)
- Brew----常见问题 ( 最近一次更新 2011--04--30)
- 可用IP查询,ip段/27/29/30网关,子网掩码,广播地址查询
- 8/26/2011 10:19:38 PM
- 9/5/2011 6:04:04 PM