diff options
Diffstat (limited to 'etc/init.d/ec2-fetch-ssh-public-key')
-rw-r--r-- | etc/init.d/ec2-fetch-ssh-public-key | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/init.d/ec2-fetch-ssh-public-key b/etc/init.d/ec2-fetch-ssh-public-key index 05955f05..3d081d63 100644 --- a/etc/init.d/ec2-fetch-ssh-public-key +++ b/etc/init.d/ec2-fetch-ssh-public-key @@ -17,6 +17,12 @@ . /lib/lsb/init-functions +# Are we running on AWS? +/opt/vyatta/sbin/ec2-check.pl +if [ $? != 0 ]; then + exit 0 +fi + : ${vyatta_env:=/etc/default/vyatta} source $vyatta_env |