代码拉取完成,页面将自动刷新
#!/bin/sh
#
# Helper script for launching a background process.
#
handle_exit_key()
{
# try to read KEY_0 from keyboard0 to exit the application
device='/dev/input/keyboard0'
if [ -c "$device" ]
then
(
key_0='*type 1 (EV_KEY), code 11 (KEY_0), value 1*'
evtest "$device" | while read line; do
case $line in
($key_0)
killall -9 $1
exit 0
;;
esac
done
) &
fi
$@
}
run()
{
handle_exit_key $@
egt-launcher
}
# close stdout, stderr, stdin and double fork - it's magic
((run $@ >&- 2>&- <&- &)&)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。