summaryrefslogtreecommitdiff
path: root/debian/vyatta-cfg-system.postinst.in
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2014-05-02 19:01:23 -0700
committerDaniil Baturin <daniil@baturin.org>2014-05-02 19:01:23 -0700
commit87803101a8636a19cc37b00059252971851f7354 (patch)
tree9b66abd1482ea9a395004efe607bead00145d077 /debian/vyatta-cfg-system.postinst.in
parent803a08517eef23f085961b046787b785a8832dc9 (diff)
parent01bfe09a152f2dc7b2c14d5ecebf9aa5b0a9c687 (diff)
downloadvyatta-cfg-system-87803101a8636a19cc37b00059252971851f7354.tar.gz
vyatta-cfg-system-87803101a8636a19cc37b00059252971851f7354.zip
Merge pull request #12 from hydrajump/aws-support-fixes
Fix AWS EC2 AMI support
Diffstat (limited to 'debian/vyatta-cfg-system.postinst.in')
-rwxr-xr-xdebian/vyatta-cfg-system.postinst.in6
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: