Commit Graph

110 Commits

Author SHA1 Message Date
Drew Bonasera ed4bcea683 Add option to copy to new file before script executes
While not the most efficient method it will at least work for now

Closes issue #1 and issue #3
2016-04-28 01:35:12 -04:00
Drew Bonasera 1f91ea1f87 Add warning to backup 2016-04-27 04:38:35 -04:00
Drew Bonasera f45603840e Change to pull partition number from the image rather than hardcoded 2016-04-27 04:33:21 -04:00
Drew Bonasera e3b321a9d7 Remove bc dependency by replacing with expr 2016-04-27 04:32:22 -04:00
Drew Bonasera f4282842da Remove the use of awk
The awks being used were not reliably giving the correct data across different distros. They were
replaced with cut and tr, this should give the script better stability.
2016-04-27 02:10:23 -04:00
Drew Bonasera 33aeacb375 Add checks for parted and bc being installed. These are most likely to
be missing on distros.
2016-04-26 12:05:00 -04:00
Drew Bonasera 62ba3fb3b7 Update README.md 2016-04-22 02:25:31 -04:00
Drew Bonasera 2c6f069c2f Add safeties
-/etc/rc.local wont be overwritten if the hash matches what the script will write
-If resize2fs fails the script is aborted
2016-04-19 04:21:22 -04:00
Drew Bonasera 28ce07ba0c Fix readme 2016-04-11 23:05:45 -04:00
Drew Bonasera ca4de5aa4e Initial Commit 2016-04-11 23:05:00 -04:00