diff options
author | Scott Moser <smoser@nelson> | 2010-01-07 21:40:44 -0500 |
---|---|---|
committer | Scott Moser <smoser@nelson> | 2010-01-07 21:40:44 -0500 |
commit | 41268c94d0f832d6a6dade0fffb7ddc0cd7a1a6c (patch) | |
tree | c578859cbdf70d38af582b00d1f81229fbee62c4 /ec2init-disable.conf | |
parent | 938ba376f2c7551a471991b4046e11a4f92f30d5 (diff) | |
download | vyos-cloud-init-41268c94d0f832d6a6dade0fffb7ddc0cd7a1a6c.tar.gz vyos-cloud-init-41268c94d0f832d6a6dade0fffb7ddc0cd7a1a6c.zip |
remove dead/unused code, call this 0.5.0
Diffstat (limited to 'ec2init-disable.conf')
-rw-r--r-- | ec2init-disable.conf | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/ec2init-disable.conf b/ec2init-disable.conf deleted file mode 100644 index b9d57f06..00000000 --- a/ec2init-disable.conf +++ /dev/null @@ -1,24 +0,0 @@ -start on startup -normal exit 0 1 - -console output - -script - set +e - i=0 - while ! touch /etc/TEST >/dev/null 2>&1; do - echo "DISABLER: waiting for writable /" - sleep 1 - i=$(($i+1)) - [ $i -lt 30 ] || { echo "DISABLER: bailing"; exit 0; } - done - f="/etc/init/ec2init.conf" - [ -e "$f" ] || { echo "DISABLER: no ${f}, exiting"; exit 0; } - echo "DISABLER: sleeping 5, then disabling ${f}" - sleep 5 - mv "${f}" "${f}.disabled" && - echo "DISABLER: disabled ${f}" || - echo "DISABLER: failed mv ${f} ${f}.disabled" - exit 0 -end script - |