Update 'freenas_network_unlock.py'
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user