Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 08-17-2012, 07:52 AM   #1
Senior Member
Registered: Apr 2003
Posts: 3,592

Rep: Reputation: 54
Shutdown sound fails to work

Hi all,

I followed the answer of following posting to setup "Start Up" and "Shutdown" sound.

To my understanding;
Start Up = Login
Shutdwon = Power off

"Start Up" works but "Shutdown" sound fail to work.

$ cat /etc/init.d/
#! /bin/bash

/usr/bin/playwave /usr/share/MusicBox.wav
$ ls -al /etc/init.d/
-rwxr-xr-x. 1 root root 56 Aug 17 16:57 /etc/init.d/
$ ls -l /etc/rc0.d/
lrwxrwxrwx. 1 root root 31 Aug 17 17:03 /etc/rc0.d/ -> /etc/init.d/
$ ls -l /etc/rc6.d/
lrwxrwxrwx. 1 root root 31 Aug 17 17:03 /etc/rc6.d/ -> /etc/init.d/
$ playwave /usr/share/MusicBox.wav
Opened audio at 22050 Hz 16 bit stereo
The sound file works.

Please help. TIA

Old 08-18-2012, 11:12 PM   #2
LQ Guru
Registered: Oct 2003
Posts: 5,066

Rep: Reputation: Disabled
I looked at your link and I don't use Fedora but I bet your K number is higher than a K number to stop sound

eg K01alsa-utils

what this means is....if you change your sound to will still execute after K01alsa due to alphabetic order....AFAIK

so it might be easier to play the sound first so it gets

remove the symlinks for alsa and redo them so they have


K numbers can be shared.

2) need alsa before sound so the symlinks for that can remain but I suspect you are going to relink

on that basis it might be better to have in /etc/init.d +x

then create sym links and ONLY then add the correct numbers

let me know if you have understood

good luck

Last edited by aus9; 08-18-2012 at 11:15 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
User shutdown - 'cp -i -p shutdown /usr/sbin/shutdown2 - why does this not work, can? mitchellray Linux - Desktop 4 03-20-2009 10:31 PM
ISA Sound card on old MB fails to work jolphil Mandriva 5 02-24-2007 08:13 AM
'shutdown now' successful, 'shutdown -r now' fails Stomatella Linux - Hardware 4 05-23-2006 11:45 PM
FAM always fails during shutdown. greythorne Arch 3 06-26-2005 10:57 PM
Killall fails at shutdown/reboot. JMC Linux - General 6 07-22-2002 07:45 PM

All times are GMT -5. The time now is 02:15 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration