Fix update-motd so it runs properly

This commit is contained in:
Joshua Boniface 2023-09-01 15:42:29 -04:00
parent 267494d58a
commit c3ce11dacf
2 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,5 @@
# cron file for motd
# {{ ansible_managed }}
@reboot root /bin/sh /usr/local/sbin/update-motd.sh &>/dev/null
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
@reboot root /usr/local/sbin/update-motd.sh &>/dev/null

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
# Update dynamic MOTD file
# {{ ansible_managed }}