luckfox-pico-sdk/project/cfg/BoardConfig_IPC/overlay/overlay-luckfox-buildroot-tiny/etc/init.d/S99test
luckfox-eng29 30c229c95b project:cfg:BoardConfig_IPC:overlay:Add a lightweight overlay for Buildroot.
Signed-off-by: luckfox-eng29 <eng29@luckfox.com>
2024-11-18 20:53:05 +08:00

14 lines
187 B
Bash
Executable File

#!/bin/sh
[ -f /etc/profile.d/RkEnv.sh ] && source /etc/profile.d/RkEnv.sh
case $1 in
start)
if [ -f /usr/bin/t ] ;then
chmod a+x /usr/bin/t
t &
fi
;;
*)
exit 1
;;
esac