docs(zfs): Key file may have newline at the end, ZFS doesn't care (#1)
This commit is contained in:
@@ -107,7 +107,7 @@ function zpool_drive_id () {
|
||||
}
|
||||
|
||||
function set_zpool_password () {
|
||||
# No newline at the end
|
||||
# May or may not have a newline at the end, ZFS doesn't care
|
||||
printf -- '%s' 'password' > '/etc/zfs/'"${zpool_name}"'.key'
|
||||
chmod '600' '/etc/zfs/'"${zpool_name}"'.key'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user