Update 'freenas_network_unlock.py'

This commit is contained in:
2019-12-25 18:10:23 -05:00
parent fe35f8bf43
commit edaedda842

View File

@@ -64,4 +64,4 @@ for pool in POOLS['response']:
logging.debug('Pool {} is already unlocked'.format(pool['name']))
# wipe the files, unmount the ramfs, and remove the folder
rc = call("rm -fP /mnt/ramfs/*; umount /mnt/ramfs; rmdir /mnt/ramfs", shell=True)
rc = call("umount -f /mnt/ramfs; rm -fP /mnt/ramfs/*; rmdir /mnt/ramfs", shell=True)