#!/bin/sh if [ "`ls /etc/asound/ | wc -l`" -lt 10 ] then for i in `seq 0 9` do touch "/etc/asound/asound.conf.bak_${i}" done fi cat /etc/asound.conf > /etc/asound/"`ls -rt /etc/asound/ | head -n 1`"