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 or usb-device-added ID_VENDOR_ID=03f0 ID_MODEL_ID=??17 or 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
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
session-migration.conf | File | 159 B | 0644 |
|
unicast-local-avahi.conf | File | 313 B | 0644 |
|
update-notifier-cds.conf | File | 834 B | 0644 |
|
update-notifier-crash.conf | File | 1.03 KB | 0644 |
|
update-notifier-hp-firmware.conf | File | 728 B | 0644 |
|
update-notifier-release.conf | File | 509 B | 0644 |
|