maybe chmod 0755 'update-motd.d/10-help-text'
maybe chmod 0755 'update-motd.d/50-motd-news'
maybe chmod 0755 'update-motd.d/85-fwupd'
-maybe chmod 0755 'update-motd.d/88-esm-announce'
maybe chmod 0755 'update-motd.d/90-updates-available'
maybe chmod 0755 'update-motd.d/91-contract-ua-esm-status'
maybe chmod 0755 'update-motd.d/91-release-upgrade'
"[ ! -e /run/systemd/system ] || [ $(id -u) -ne 0 ] || systemctl start --no-block apt-news.service esm-cache.service || true";
};
-APT::Update::Post-Invoke-Stats {
- "[ ! -f /usr/lib/ubuntu-advantage/apt-esm-hook ] || /usr/lib/ubuntu-advantage/apt-esm-hook || true";
-};
-
binary::apt::AptCli::Hooks::Upgrade {
"[ ! -f /usr/lib/ubuntu-advantage/apt-esm-json-hook ] || /usr/lib/ubuntu-advantage/apt-esm-json-hook || true";
};
-# Ubuntu Pro Client config file.
-# If you modify this file, run "pro refresh config" to ensure changes are
-# picked up by Ubuntu Pro Client.
-
contract_url: https://contracts.canonical.com
-data_dir: /var/lib/ubuntu-advantage
-log_file: /var/log/ubuntu-advantage.log
log_level: debug
-security_url: https://ubuntu.com/security
-timer_log_file: /var/log/ubuntu-advantage-timer.log
-daemon_log_file: /var/log/ubuntu-advantage-daemon.log
-ua_config:
- apt_http_proxy: null
- apt_https_proxy: null
- http_proxy: null
- https_proxy: null
- update_messaging_timer: 21600
- metering_timer: 14400
+++ /dev/null
-#!/bin/sh
-stamp="/var/lib/ubuntu-advantage/messages/motd-esm-announce"
-
-[ ! -r "$stamp" ] || cat "$stamp"
#!/bin/sh
-esm_stamp="/var/lib/ubuntu-advantage/messages/motd-esm-service-status"
+contract_status_stamp="/var/lib/ubuntu-advantage/messages/motd-contract-status"
-[ ! -r "$esm_stamp" ] || cat "$esm_stamp"
+[ ! -r "$contract_status_stamp" ] || cat "$contract_status_stamp"
auto_attach_stamp="/var/lib/ubuntu-advantage/messages/motd-auto-attach-status"