cleaner implementation
authorChris Koeritz <fred@gruntose.com>
Fri, 3 Nov 2017 06:23:02 +0000 (02:23 -0400)
committerChris Koeritz <fred@gruntose.com>
Fri, 3 Nov 2017 06:23:02 +0000 (02:23 -0400)
commitc8527998bb0cfdbb0244bd919b017fd8772155b2
treeb5a0330bf9d64e6514f5a6fc64d9baf67cf40192
parentba3dab0632f2eedfce6f724d76a9c967ccb9fe90
cleaner implementation

adds a chmod of 600 to the swap file to keep the OS happy.  also checks result of each operation.
scripts/system/add_swap_mount.sh