Skip to contentSkip to conversation

Problem in alsaconf

DISCUSSION Jaroslav Kysela 2 participants 3 messages Dec 5, 2003 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 7 lines · Sebastian Stein

I'm not sure who is the current maintainer of the alsaconf shell script in the alsa-utils-1.0.0rc1 package, so I'm sending this mail to all of you!

On startup I can see a message saying:

/usr/bin/alsaconf: line 29: [: too many arguments
/usr/bin/alsaconf: line 31: [: too many arguments

It does not happen with:

GNU bash, version 2.05b.0(1)-release (i586-suse-linux) and
grep (GNU grep) 2.5.1

Perhaps, you don't have grep installed?

Quoted 3 lines

Also, there is another problem with finding the alsasound script ($rcalsasound). On my distro it can be found under /etc/rc.d/inet.d/alsasound. Maybe a better approach then fixed path would

Added new path. Thanks.

Jaroslav

-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs

-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/

#2 lore raw
Quoted 6 lines · Jaroslav Kysela
Quoted 3 lines · Sebastian Stein

Also, there is another problem with finding the alsasound script ($rcalsasound). On my distro it can be found under /etc/rc.d/inet.d/alsasound. Maybe a better approach then fixed path would

Added new path. Thanks.

Hmm, this looks like a typo - the correct path should probably be /etc/rc.d/init.d/alsasound.

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw
Quoted 27 lines · Jan ONDREJ (SAL)
Quoted 10 lines · Jaroslav Kysela
Quoted 7 lines · Sebastian Stein

I'm not sure who is the current maintainer of the alsaconf shell script in the alsa-utils-1.0.0rc1 package, so I'm sending this mail to all of you!

On startup I can see a message saying:

/usr/bin/alsaconf: line 29: [: too many arguments
/usr/bin/alsaconf: line 31: [: too many arguments

Quoted 7 lines

It does not happen with:

GNU bash, version 2.05b.0(1)-release (i586-suse-linux) and
grep (GNU grep) 2.5.1

Perhaps, you don't have grep installed?

Please, replace "!=" to "-ne" on these lines.
It is more compatible with all "test" or "[" programs. It is also compatilble with GNU bash's internal test function.

Quoted 4 lines
Quoted 3 lines

Also, there is another problem with finding the alsasound script ($rcalsasound). On my distro it can be found under /etc/rc.d/inet.d/alsasound. Maybe a better approach then fixed path would

Quoted 6 lines
Quoted 1 line

Added new path. Thanks.

Fine. :)

Please move alsaconf from /usr/bin to /usr/sbin. Alsaconf is usable only for root. User don't need it.

Fixed and recreated new alsa-utils-1.0.0rc2 package. Thanks.

Jaroslav

-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs

-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/