This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
lsts_glued/rules/escc/fs/etc/rc.d/escc

19 lines
300 B
Plaintext

start()
{
modprobe escc &&
rm -f /dev/escc0 &&
mknod /dev/escc0 c 261 0 &&
rm -f /dev/escc1 &&
mknod /dev/escc1 c 261 1 &&
if [ -f "$cfg_escc_script" ]; then
source "$cfg_escc_script"
fi
}
stop()
{
rmmod escc &&
rm -f /dev/escc0 &&
rm -f /dev/escc1
}