autoinst

scripts to make installation of custom debian easier and more automated
git clone git://deadbeef.fr/autoinst.git
Log | Files | Refs | README | LICENSE

commit 654b4efc9dc6025aab4dd31ae128b099d765493e
parent 980bbfa597e05bacc770224ac52ed445628e3121
Author: Morel BĂ©renger <berenger.morel@neutralite.org>
Date:   Thu, 14 Nov 2019 17:08:56 +0100

use := instead of :- in various run files

Diffstat:
Metc/busybox/run/crond.run | 2+-
Metc/busybox/run/dhcpc.run | 2+-
Metc/busybox/run/getty.run | 2+-
Metc/busybox/run/httpd.run | 2+-
Metc/dropbear/run/dropbear.run | 2+-
5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/etc/busybox/run/crond.run b/etc/busybox/run/crond.run @@ -3,4 +3,4 @@ . /etc/runit/common printf "Preparation done, starting %s.\n" $SVNAME -exec chpst -b crond busybox -f -l 0 -L /dev/stderr -c ${CRON_DIR:-"/var/spool/cron/crontabs"} +exec chpst -b crond busybox -f -l 0 -L /dev/stderr -c ${CRON_DIR:="/var/spool/cron/crontabs"} diff --git a/etc/busybox/run/dhcpc.run b/etc/busybox/run/dhcpc.run @@ -3,4 +3,4 @@ . /etc/runit/common printf "Preparation done, starting %s.\n" $SVNAME -exec chpst -b udhcpc busybox -i ${IFACE:-$SVNAME} -R -f +exec chpst -b udhcpc busybox -i ${IFACE:=$SVNAME} -R -f diff --git a/etc/busybox/run/getty.run b/etc/busybox/run/getty.run @@ -3,4 +3,4 @@ . /etc/runit/common printf "Preparation done, starting %s.\n" $SVNAME -exec chpst -b getty busybox 0 ${TTY:-$SVNAME} +exec chpst -b getty busybox 0 ${TTY:=$SVNAME} diff --git a/etc/busybox/run/httpd.run b/etc/busybox/run/httpd.run @@ -3,4 +3,4 @@ . /etc/runit/common printf "Preparation done, starting %s.\n" $SVNAME -exec chpst -b httpd busybox -f -h ${HTTPD_HOME:-"."} +exec chpst -b httpd busybox -f -h ${HTTPD_HOME:="."} diff --git a/etc/dropbear/run/dropbear.run b/etc/dropbear/run/dropbear.run @@ -2,7 +2,7 @@ . /etc/runit/common -if test ! -f ${DROPBEAR_KEY:-"./dropbear_rsa_host_key"} +if test ! -f ${DROPBEAR_KEY:="./dropbear_rsa_host_key"} then test -e ${DROPBEAR_KEY} && die "$DROPBEAR_KEY exists but is not a file" mkdir -p $(dirname $DROPBEAR_KEY)