source: packages/libs/zaptel-1.4.x/files/10-create-device-node @ 26262

Last change on this file since 26262 was 26262, checked in by cshore, 5 years ago

[libs] zaptel-1.4.x: Added hotplug script to create correct Zaptel device nodes (hotplug's autocreate does the wrong thing).

File size: 185 bytes
Line 
1#!/bin/sh
2 
3case "$ACTION" in
4        add)
5                /bin/mkdir -p /dev/zap
6                /bin/mknod -m 0644 /dev/zap/${DEVICENAME#zap} c $MAJOR $MINOR
7                ;;
8esac
9
Note: See TracBrowser for help on using the repository browser.