diff --git a/Perso/bootSound b/Perso/bootSound new file mode 100755 index 0000000..71fc806 --- /dev/null +++ b/Perso/bootSound @@ -0,0 +1,43 @@ +#! /bin/sh +# /etc/init.d/bootSound + +#A mettre dans le dossier ci-dessus pour que ça se lance pendant le boot + +### BEGIN INIT INFO +# Provides: bootSound +# Required-Start: $gdm3 $dbus $PackageKit +# Required-Stop: +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Start up sound +# Description: The above +### END INIT INFO + +case "$1" in + start) + pulseaudio & + sleep 1 + echo "My man it is $(date)" + mplayer -nogui -softvol -ao alsa,pulse /home/trotfunky/Documents/Sounds/winxp.mp3 & + wait %2 + killall pulseaudio + ;; + stop) + exit 0 + ;; + restart) + exit 0 + ;; + force-reload) + exit 0 + ;; + status) + exit 0 + ;; + *) + echo "Well you done fucked up" + exit 1 + ;; +esac + +exit 0 diff --git a/Perso/bootSound.sh b/Perso/bootSound.sh new file mode 100755 index 0000000..cb0cf89 --- /dev/null +++ b/Perso/bootSound.sh @@ -0,0 +1,5 @@ +#! /bin/sh + +mplayer -nogui -softvol -ao alsa,pulse /home/trotfunky/Documents/Sounds/winxp.mp3 & + +exit 0 \ No newline at end of file diff --git a/Perso/serialOutput/.gitignore b/Perso/serialOutput/.gitignore new file mode 100644 index 0000000..5c87cb1 --- /dev/null +++ b/Perso/serialOutput/.gitignore @@ -0,0 +1 @@ +serialOutput*