Sha256: 20e3efef7c1f3d3b46f165201c3e69846578c7003912ca9a13493fca26f8c671
Contents?: true
Size: 337 Bytes
Versions: 6
Compression:
Stored size: 337 Bytes
Contents
#!/bin/bash function schedule_termination() { chmod +x /etc/rc.local sed -i 's/exit 0//' /etc/rc.local echo "/opt/forger/auto_terminate.sh after_ami >> /var/log/auto-terminate.log 2>&1" >> /etc/rc.local } function unschedule_termination() { grep -v terminate-myself /etc/rc.local > /etc/rc.local.tmp mv /etc/rc.local{.tmp,} }
Version data entries
6 entries across 6 versions & 1 rubygems