This file is indexed.

/usr/share/upstart/sessions/update-notifier-cds.conf is in update-notifier 3.192.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
description "Update notification regarding a disk with packages"
author "Brian Murray <brian@ubuntu.com>"

start on (
    :sys:block-device-changed ID_FS_TYPE=iso9660 or
    :sys:block-device-added ID_FS_TYPE=iso9660 or
    block-device-changed ID_FS_TYPE=iso9660 or
    block-device-added ID_FS_TYPE=iso9660
)


script
DATE=$(date)
echo "$DATE CD found at $DEVNAME"
sleep 10
MOUNTPOINT=$(printf $(awk "{if (\$1 == \"$DEVNAME\") {print \$2}}" /proc/mounts ))
echo "CD mounted at $MOUNTPOINT"
if [ -L "$MOUNTPOINT/ubuntu" ] || [ -e "$MOUNTPOINT/cdromupgrade" ]
then
  echo "$DATE CD contains ubuntu data"
  /usr/lib/update-notifier/apt-cdrom-check "$MOUNTPOINT" || CDTYPE=$?
  if [ $CDTYPE -gt 0 ]
  then
    echo "$DATE CD type of $CDTYPE found"
    /usr/lib/update-notifier/distro-cd-updater $CDTYPE "$MOUNTPOINT"
  fi
fi
end script