Mercurial > ~darius > hgwebdir.cgi > vanlogger
changeset 33:7125b13d0528
Hide complaints from mkdir
author | Daniel O'Connor <darius@dons.net.au> |
---|---|
date | Mon, 13 Dec 2021 23:04:12 +1030 |
parents | b6f96e8738ca |
children | 5b03de9fb20b |
files | install.sh |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/install.sh Mon Dec 13 18:17:12 2021 +1030 +++ b/install.sh Mon Dec 13 23:04:12 2021 +1030 @@ -3,7 +3,7 @@ root=$(cd $(dirname $0); pwd) # Create service files for running and logging -mkdir -p /service/vanlogger/log +mkdir -p /service/vanlogger/log >/dev/null 2>&1 cat >/service/vanlogger/run <<EOF #!/bin/sh exec 2>&1 @@ -17,7 +17,7 @@ chmod 755 /service/vanlogger/run /service/vanlogger/log/run # Create rc.local hooks for reinstallation -mkdir /data/rc.local.d /data/rcS.local.d +mkdir /data/rc.local.d /data/rcS.local.d >/dev/null 2>&1 cat >/data/rc.local.d/vanlogger <<EOF #!/bin/sh sh $root/install.sh