This file is indexed.

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

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
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
)


script
DATE=$(date)
echo "$DATE CD found at $DEVNAME"
sleep 10
MOUNTPOINT=$(udisks --show-info $DEVNAME | grep 'mount paths' | awk -F: {'print $2'} | sed -e 's/^ *//')
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 > 0 ]
  then
    echo "$DATE CD type of $CDTYPE found"
    /usr/lib/update-notifier/distro-cd-updater $CDTYPE "$MOUNTPOINT"
  fi
fi
end script