On Wednesday 15 September 2004 18.43, Leendert Meyer wrote: <cut lines>
Here's a different version that beeps once when booting is finished:
----8<----[/etc/init.d/boot_ready]----8<---- #! /bin/sh # # /etc/init.d/boot_ready # # Copyright (c) 2000-2002 SuSE GmbH Nuernberg, Germany. All rights reserved. ### BEGIN INIT INFO # Provides: boot_ready # Required-Start: # X-UnitedLinux-Should-Start: $network $syslog apache inetd cron nscd splash_late # Required-Stop: # X-UnitedLinux-Should-Stop: $network $syslog apache inetd cron nscd splash_late # Default-Start: 2 3 5 # Default-Stop: 0 1 4 6 # Description: squeek if the booting process is finished ### END INIT INFO
. /etc/rc.status
# First reset status of this service rc_reset
case "$1" in start) echo -e "\a" ;; stop|status|restart|reload) # rc_status -v3 ;;
esac rc_exit ---->8---->8---->8----
Set the correct permissions after saving the file:
chmod a=rx,u+w boot_ready
After copying the file to /etc/init.d/boot_ready, insert it into the init.d system:
insserv boot_ready
It would not be difficult to put the 'burp'-routine from my previous mail into boot_ready, to get a nicer sound.
Cheers,
Leen
Nice approach! Never thought of that... Thank you! Will start making new "beeps and blops" right away ;) Thank you! -- /Rikard ------------------------------------------------------------------------------------ Rikard Johnels email : rikjoh@norweb.se Web : http://www.rikjoh.com Mob : +46 735 05 51 01 ------------------------ Public PGP fingerprint ---------------------------- < 15 28 DF 78 67 98 B2 16 1F D3 FD C5 59 D4 B6 78 46 1C EE 56 >