This file is indexed.

/usr/share/upstart/sessions/update-notifier-hp-firmware.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
description "Update notification regarding HP firmware installation"
author "Brian Murray <brian@ubuntu.com>"

# only idVendor=03f0, idProduct="??{17,2a}" requires firmware
start on (
    :sys:usb-device-added ID_VENDOR_ID=03f0 ID_MODEL_ID=??17 or
    :sys:usb-device-added ID_VENDOR_ID=03f0 ID_MODEL_ID=??2a
)

script
test -f /usr/bin/hp-mkuri || exit 0
DATE=$(date)
RESULT=0
hp_model="$ID_MODEL" /usr/bin/hp-mkuri -c || RESULT=$?
echo "$DATE hp-mkuri returned $RESULT"
# firmware is required if a 2 or a 5 is returned
if [ $RESULT -eq 2 ] || [ $RESULT -eq 5 ]; then
  /usr/bin/hp-plugin-ubuntu
fi
end script