initrd.scripts: trivial, wrap comments

master
Fabio Erculiani 12 years ago
parent 2496e36843
commit f51db27a39

@ -1442,11 +1442,11 @@ get_mount_device() {
' ${NEW_ROOT}/etc/fstab ' ${NEW_ROOT}/etc/fstab
} }
# If the kernel is handed a mount option is does not recognize, it WILL fail to # If the kernel is handed a mount option is does not recognize, it
# mount. util-linux handles auto/noauto, but busybox passes it straight to the kernel # WILL fail to mount. util-linux handles auto/noauto, but busybox
# which then rejects the mount. # passes it straight to the kernel which then rejects the mount. To
# To make like a little easier, busybox mount does not care about leading, # make like a little easier, busybox mount does not care about
# trailing or duplicate commas. # leading, trailing or duplicate commas.
strip_mount_options() { strip_mount_options() {
sed -r 's/(,|^)(no)?auto(,|$)/,/g' sed -r 's/(,|^)(no)?auto(,|$)/,/g'
} }

Loading…
Cancel
Save