//1.创建test.sh
hanzhou@m2mBuilder:~/hanzhou/ec20/ql-ol-sdk/ql-ol-rootfs/etc/init.d$ vi test.sh
/*
#! /bin/sh
#test.sh
echo “hello!”
echo “hello!”
echo “hello!”
echo “hello!”
echo “hello!”
echo “hello!”
echo “hello!”
echo “hello!”
echo “hello!”
echo “hello!”
echo “hello!”
echo “hello!”
echo “hello!”
echo “hello!”
echo “hello!”
echo “hello!”
echo “hello!”
echo “hello!”
echo “hello!”
echo “hello!”
echo “hello!”
echo “hello!”
/*
//2.创建软链接
hanzhou@m2mBuilder:~/hanzhou/ec20/ql-ol-sdk/ql-ol-rootfs/etc/rc5.d$ ln -sv …/init.d/test.sh S100test
绿色代表地址正确,红色代表链接地址有问题不能执行。
//3.编译,烧录测试