Fix update-motd so it runs properly
This commit is contained in:
parent
c26a20d44c
commit
6362a3b40f
|
@ -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
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
#!/bin/bash
|
||||
|
||||
# Update dynamic MOTD file
|
||||
# {{ ansible_managed }}
|
||||
|
|
Loading…
Reference in New Issue