14 lines
284 B
Bash
Executable File
14 lines
284 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
# Remove udev persistent rules.
|
|
#
|
|
# This removes udev persistent rules that cache the host systems cd drive as
|
|
# well as the running live systems cd drive to remember its device name.
|
|
|
|
if [ -e /etc/udev/rules.d ]
|
|
then
|
|
> /etc/udev/rules.d/70-persistent-cd.rules
|
|
fi
|