UserBootScript
ってコトで /boot/home/config/boot/ にある UserBootScript の例です。 # から改行まではコメントと看做されるのですが、 CodeWarrior の規約に従って(笑)赤字で表記しました。ちなみに日本語で書いてある説明はいま付け足したものですのでコレをそっくりそのままコピーした場合正常に動作しないかもしれません

#
# This file (when renamed UserBootscript) is where user 
# startup customizations go.  It is a standard /bin/sh
# shell script.
#
# At boot time, the script Bootscript is executed and the
# last thing it does is to check for the file UserBootscript.
# If UserBootscript exists, it is executed.  This file is a
# sample that doesn't contain any commands but you can copy 
# it, rename it to UserBootscript and add what ever extra 
# boot-time commands you would like.
#
# NOTE: this is not where you should put aliases and such 
#       that you want in the shell.  You should put those
#       sorts of things in your .profile.
#

if [ -f "/boot/apps/Pulse" ]
then
	/boot/apps/Pulse &
fi
# /boot/apps/ の下に Pulse があったらそれをバックグランドで実行 


if [ -f "/boot/home/Applications/LaunchPad110_PR/LaunchPad" ]
then
	/boot/home/Applications/LaunchPad110_PR/LaunchPad &
fi
# /boot/home/Applications/LaunchPad110_PR/ の下に LaunchPad があったらそれをバックグランドで実行 


if [ -f "/boot/home/Applications/DIGIClock/DIGIClock" ]
then
	/boot/home/Applications/DIGIClock/DIGIClock &
fi
# /boot/home/Applications/DIGIClock/ の下に DIGIClock があったらそれをバックグランドで実行 


if [ -f "/boot/home/Applications/kanbe052/kanbe" ]
then
	/boot/home/Applications/kanbe052/kanbe &
fi
# /boot/home/Applications/kanbe052/ の下に kanbe があったらそれをバックグランドで実行 

if [ -f "/boot/home/Applications/NumLock/NumLock" ]
then
	/boot/home/Applications/NumLock/NumLock &
fi
# /boot/home/Applications/NumLock/ の下に NumLock があったらそれをバックグランドで実行 

if [ -f "/boot/home/Applications/Surveyor_1.0/Surveyor" ]
then
	/boot/home/Applications/Surveyor_1.0/Surveyor &
fi
# /boot/home/Applications/Surveyor_1.0/ の下に Surveyor があったらそれをバックグランドで実行 

if [ -f "/boot/home/Applications/Flipper_v0.1/Flipper" ]
then
	/boot/home/Applications/Flipper_v0.1/Flipper &
fi
# /boot/home/Applications/Flipper_v0.1/ の下に Flipper があったらそれをバックグランドで実行 

if [ -f "/boot/home/Applications/deskbact/deskbact" ]
then
	/boot/home/Applications/deskbact/deskbact TL &
fi
# /boot/home/Applications/deskbact/ の下に deskbact があったらそれをバックグランドで実行 

Launch application/x-vnd.wilcox-blanketserver
# FileType が application/x-vnd.wilcox-blanketserver のものを実行 



メールはgoro@venus.dti.ne.jpまで〜☆
BeOS Now!
このページは極一部分だけですが(笑)BeOS を使用して作成しています