Fix update-motd so it runs properly
This commit is contained in:
parent
267494d58a
commit
c3ce11dacf
|
@ -1,4 +1,5 @@
|
||||||
# cron file for motd
|
# cron file for motd
|
||||||
# {{ ansible_managed }}
|
# {{ 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
|
# Update dynamic MOTD file
|
||||||
# {{ ansible_managed }}
|
# {{ ansible_managed }}
|
||||||
|
|
Loading…
Reference in New Issue