#!/bin/sh # Start all init scripts in /etc/init.d # executing them in numerical order. # for i in /etc/init.d/S??* ;do # Ignore dangling symlinks (if any). [ ! -f "$i" ] && continue case "$i" in *.sh) # Source shell script for speed. ( trap - INT QUIT TSTP set start . $i ) ;; *) # No sh extension, so fork subprocess. $i start ;; esac done insmod /lib/modules/skw_sdio_lite.ko insmod /lib/modules/skwbt.ko insmod /lib/modules/swt6621s_wifi.ko /usr/bin/btmgmt -i hci0 power off /usr/bin/btmgmt -i hci0 bredr off /usr/bin/btmgmt -i hci0 le on /usr/bin/btmgmt -i hci0 pairable on /usr/bin/btmgmt -i hci0 connectable on /usr/bin/btmgmt -i hci0 advertising on /usr/bin/btmgmt -i hci0 discov on /usr/bin/btmgmt -i hci0 name "hyx-$(cat /sys/class/net/wlan0/address | tr -d ':')" /usr/bin/btmgmt -i hci0 power on /userdata/btgatt-server &