diff options
Diffstat (limited to 'debian/vyatta-cfg-system.postinst.in')
-rwxr-xr-x | debian/vyatta-cfg-system.postinst.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in index a89ef711..4a690fa8 100755 --- a/debian/vyatta-cfg-system.postinst.in +++ b/debian/vyatta-cfg-system.postinst.in @@ -212,11 +212,11 @@ done update-rc.d vyatta-config-reboot-params start 20 S # Enable ec2-fetch-ssh-public-key init script -if [ -f "$sysconfdir"/config/.aws ]; then - insserv ec2-fetch-ssh-public-key --default +if [ -f /opt/vyatta/etc/config/.aws ]; then + update-rc.d ec2-fetch-ssh-public-key defaults # Remove temp. file from install-image-existing L50 - rm "$sysconfdir"/config/.aws + rm /opt/vyatta/etc/config/.aws fi # Local Variables: |