Quote:
Originally Posted by Quakeboy02
Your script will probably look something like this:
/etc/rc2.d/S99bootsong
Code:
#!/bin/sh
/usr/bin/rhythmbox "/data/My Music/Nickel Creek/This Side/01 - Smoothie Song.ogg"
|
You could just add the second line to /etc/rc.local and dispense with creating an extra script. /etc/rc.local is normally the last script to execute on a normal boot. (It doesn't run at all when you boot into single user mode, aka recovery mode.) If you decide to add this to /etc/rc.local,
make sure you add it
before the
exit 0 zero statement! (Yes, I made that blunder once.)
Note that whether as a separate script or as part of /etc/rc.local, this will run when the system boots while some of the earlier suggestions run when you log in.