Module Name: othersrc
Committed By: riz
Date: Sat Nov 21 20:03:53 UTC 2015
Modified Files:
othersrc/share/examples/ec2/files: ec2_firstboot
Log Message:
Remove "resize_root" lines from rc.conf if they exist.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 othersrc/share/examples/ec2/files/ec2_firstboot
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: othersrc/share/examples/ec2/files/ec2_firstboot
diff -u othersrc/share/examples/ec2/files/ec2_firstboot:1.1 othersrc/share/examples/ec2/files/ec2_firstboot:1.2
--- othersrc/share/examples/ec2/files/ec2_firstboot:1.1 Fri Apr 20 21:01:03 2012
+++ othersrc/share/examples/ec2/files/ec2_firstboot Sat Nov 21 20:03:53 2015
@@ -19,6 +19,8 @@ ec2_firstboot_run()
# The first boot has finished.
if [ -f /root/firstboot ]; then
rm /root/firstboot
+ # remove resize_root from rc.conf
+ sed -i -e ',s^resize_root.*$,,' /etc/rc.conf
fi
}