diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-11-23 18:32:33 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-11-23 18:32:33 +0000 |
commit | a140075cb692b7ae73bad2057d835bdc2e53a992 (patch) | |
tree | 71af3f3f510d03a8c7d79fd41baa7dd9a1eb1507 /audio/beep | |
parent | 0ed1aea7c1dda1b52245389f0a0144b2341ee5eb (diff) | |
download | ports-a140075cb692b7ae73bad2057d835bdc2e53a992.tar.gz ports-a140075cb692b7ae73bad2057d835bdc2e53a992.zip |
Notes
Diffstat (limited to 'audio/beep')
-rw-r--r-- | audio/beep/Makefile | 2 | ||||
-rw-r--r-- | audio/beep/pkg-descr | 4 | ||||
-rw-r--r-- | audio/beep/pkg-message | 16 |
3 files changed, 11 insertions, 11 deletions
diff --git a/audio/beep/Makefile b/audio/beep/Makefile index 7a9b0878f99a..20791ef04e0b 100644 --- a/audio/beep/Makefile +++ b/audio/beep/Makefile @@ -19,7 +19,7 @@ ONLY_FOR_ARCHS= i386 amd64 pc98 PLIST_FILES= bin/beep man/man1/beep.1.gz post-patch: - ${REINPLACE_CMD} 's|machine/speaker\.h|dev/speaker/speaker.h|' \ + @${REINPLACE_CMD} 's|machine/speaker\.h|dev/speaker/speaker.h|' \ ${WRKSRC}/beep.c .include <bsd.port.mk> diff --git a/audio/beep/pkg-descr b/audio/beep/pkg-descr index dca73b0e7931..65422c5b3843 100644 --- a/audio/beep/pkg-descr +++ b/audio/beep/pkg-descr @@ -1,2 +1,2 @@ -This program will beep, using a -duration and pitch specified on the command line or the program's defaults. +This program will beep, using a duration and pitch specified on the +command line or the program's defaults. diff --git a/audio/beep/pkg-message b/audio/beep/pkg-message index 3aa711d4a8d6..a23b268c025e 100644 --- a/audio/beep/pkg-message +++ b/audio/beep/pkg-message @@ -1,26 +1,26 @@ -Speaker sound Support: +Speaker sound support: ====================== -For support speaker sound four user needs to be in the operator group and needs -read and write permissions to the /dev/speaker device. +For PC speaker sound to work you need to be in the operator group +and need r/w permissions to /dev/speaker device. -Load kernel modul: +Load kernel module: # kldload speaker -Add a user to a group operator's: +Add a user to operator group: % pw groupmod operator -m jerry -Uncomment the following lines in the file /etc/devfs.rules (create if it doesn't -exist): +Uncomment the following lines in /etc/devfs.rules file (create it +if it doesn't exist): # Allow members of group operator to cat things to the speaker [speaker=10] add path 'speaker' mode 0660 group operator -To load these new rule add the following to /etc/rc.conf: +To load these new rules add the following to /etc/rc.conf: devfs_speaker_ruleset="speaker" |