diff options
Diffstat (limited to 'net-dialup/mwavem/files/mwave-dev-handler')
-rwxr-xr-x | net-dialup/mwavem/files/mwave-dev-handler | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net-dialup/mwavem/files/mwave-dev-handler b/net-dialup/mwavem/files/mwave-dev-handler new file mode 100755 index 000000000000..3ba51ff75db2 --- /dev/null +++ b/net-dialup/mwavem/files/mwave-dev-handler @@ -0,0 +1,11 @@ +#!/bin/sh + +case "$1" in +register) + [ ! -d /dev/modem ] && mkdir --mode=0755 /dev/modems + [ ! -h /dev/modems/mwave ] && ln -s /dev/misc/mwave /dev/modems/mwave + ;; +unregister) + rm -rf /dev/modems/mwave + ;; +esac |