File: 0200-remove-udev-persistent-cd-rules.hook.chroot

package info (click to toggle)
open-infrastructure-system-build 20161101-lts2-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,028 kB
  • ctags: 82
  • sloc: sh: 8,825; makefile: 128
file content (13 lines) | stat: -rwxr-xr-x 284 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/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