feat(profile): motd: make it more generic.
This commit is contained in:
parent
1204e29fb9
commit
7a352cb7df
1 changed files with 8 additions and 12 deletions
|
|
@ -17,18 +17,12 @@ profile motd @{exec_path} {
|
|||
|
||||
@{exec_path} mr,
|
||||
|
||||
@{sh_path} rix,
|
||||
@{bin}/{e,}grep rix,
|
||||
@{bin}/cat rix,
|
||||
@{bin}/cut rix,
|
||||
@{bin}/find rix,
|
||||
@{bin}/head rix,
|
||||
@{bin}/hostname rPx,
|
||||
@{bin}/id rix,
|
||||
@{bin}/snap rPx,
|
||||
@{bin}/sort rix,
|
||||
@{bin}/tr rix,
|
||||
@{bin}/uname rPx,
|
||||
@{sh_path} rix,
|
||||
@{coreutils_path} rix,
|
||||
@{bin}/cloud-id rix,
|
||||
@{bin}/hostname rPx,
|
||||
@{bin}/snap rPx,
|
||||
@{bin}/wget rix,
|
||||
|
||||
@{lib}/ubuntu-release-upgrader/release-upgrade-motd rPx,
|
||||
@{lib}/update-notifier/update-motd-fsck-at-reboot rPx,
|
||||
|
|
@ -45,6 +39,8 @@ profile motd @{exec_path} {
|
|||
/var/lib/update-notifier/updates-available r,
|
||||
/var/lib/ubuntu-advantage/messages/motd-esm-announce r,
|
||||
|
||||
/tmp/tmp.@{rand10} w,
|
||||
|
||||
@{run}/motd.d/{,*} r,
|
||||
@{run}/motd.dynamic.new rw,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue