diff options
author | Eric Hameleers <alien@slackware.com> | 2015-12-24 17:47:47 +0100 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2015-12-24 17:47:47 +0100 |
commit | 55b1119e611f34ca414b1a660d3804addb2a0388 (patch) | |
tree | c871df77968feac3015125f4b93ea6739e4bc205 | |
parent | e3d2520cca6ce30f9184334aed1f2127f6006771 (diff) | |
download | liveslak-55b1119e611f34ca414b1a660d3804addb2a0388.tar.gz liveslak-55b1119e611f34ca414b1a660d3804addb2a0388.tar.xz |
Delete ALSA state file, the Live OS may be booted on different computers.
-rwxr-xr-x | liveinit | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -419,6 +419,9 @@ EOPW sed -i -e "s/^\(127.0.0.1\t*\)@DARKSTAR@.*/\1${LIVE_HOSTNAME}.example.net ${LIVE_HOSTNAME}/" /mnt/overlay/etc/hosts fi + # Delete ALSA state file, the Live OS may be booted on different computers: + rm -f /mnt/overlay/var/lib/alsa/asound.state + # Copy contents of rootcopy directory (may be empty) to overlay: cp -af /mnt/media/${LIVEMAIN}/rootcopy/* /mnt/overlay/ 2>/dev/null |