Subject: Re: Audio11 failed...
To: None <thesing@cs.uni-sb.de>
From: Ignatios Souvatzis <ignatios@cs.uni-bonn.de>
List: port-amiga
Date: 01/23/1997 15:23:51
From: Stephan Thesing <thesing@cs.uni-sb.de>
Date: Thu, 23 Jan 1997 14:33:07 +0100 (CET)
Yes. Maybe something like
MAJOR=`modstat | awk '/audio/{print $3}'`
Still "no".
the post-loading script is called with the major device number as a
parameter. No need to parse modstat output --- just do it the way it
was designed. Do I really need to read the manpage to you all?
Ok, here you go.
modload -p postinstall.sh the.module
will load the.module, calling (if it succeeds)
postinstall.sh moduleid moduleid majorid
a sample postinstall.sh would be:
#!/bin/sh
# This code is in the public domain, but don't use it for military purposes,
# the author doesn't have any security clearance :-)
rm -f /dev/audio
mknod -c $3 0 /dev/audio
exit 0
Regards,
Ignatios Souvatzis