Fix update-motd so it runs properly

This commit is contained in:
Joshua Boniface 2022-11-05 01:48:30 -04:00
parent c26a20d44c
commit 6362a3b40f
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 }}