cloud-init-blocknet: remove debug code going to /run/cloud-init-blocknet
This commit is contained in:
parent
f10188fb17
commit
75888e5d47
@ -15,7 +15,6 @@ task
|
|||||||
script
|
script
|
||||||
set +e # you cannot trap TERM reliably with 'set -e'
|
set +e # you cannot trap TERM reliably with 'set -e'
|
||||||
SLEEP_CHILD=""
|
SLEEP_CHILD=""
|
||||||
LOG="/run/${UPSTART_JOB}.log"
|
|
||||||
|
|
||||||
static_network_up() {
|
static_network_up() {
|
||||||
local emitted="/run/network/static-network-up-emitted"
|
local emitted="/run/network/static-network-up-emitted"
|
||||||
@ -30,7 +29,6 @@ script
|
|||||||
read uptime idle < /proc/uptime
|
read uptime idle < /proc/uptime
|
||||||
fi
|
fi
|
||||||
msg="${UPSTART_INSTANCE}${uptime:+[${uptime}]}: $*"
|
msg="${UPSTART_INSTANCE}${uptime:+[${uptime}]}: $*"
|
||||||
echo "$msg" >> "$LOG"
|
|
||||||
echo "$msg"
|
echo "$msg"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user