#!/bin/sh -e ### BEGIN INIT INFO # Provides: amixer-master-mute # Required-Start: # Required-Stop: # Default-Start: # Default-Stop: 0 6 # Short-Description: Mute the Master mixer # Description: Mute the Master mixer to avoid # a crackling (popping) sound # from the speakers when rebooting # or shutting down the computer. ### END INIT INFO case "$1" in start) ;; restart|reload|force-reload) echo "Error: argument '$1' not supported" >&2 exit 3 ;; stop) amixer set Master mute > /dev/null ;; *) echo "Usage: $0 start|stop" >&2 exit 3 ;; esac exit 0