|
Harald Hoyer |
fe68ba |
From 65cfabf7a6778f513119eace254826feda718833 Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
fe68ba |
From: Marcos Mello <marcosfrm@gmail.com>
|
|
Harald Hoyer |
fe68ba |
Date: Fri, 6 Apr 2018 08:17:30 -0300
|
|
Harald Hoyer |
fe68ba |
Subject: [PATCH] fs-lib: remove redundancy
|
|
Harald Hoyer |
fe68ba |
|
|
Harald Hoyer |
fe68ba |
---
|
|
Harald Hoyer |
fe68ba |
modules.d/99fs-lib/module-setup.sh | 5 +----
|
|
Harald Hoyer |
fe68ba |
1 file changed, 1 insertion(+), 4 deletions(-)
|
|
Harald Hoyer |
fe68ba |
|
|
Harald Hoyer |
fe68ba |
diff --git a/modules.d/99fs-lib/module-setup.sh b/modules.d/99fs-lib/module-setup.sh
|
|
Harald Hoyer |
fe68ba |
index bd61838b..e614fe5f 100755
|
|
Harald Hoyer |
fe68ba |
--- a/modules.d/99fs-lib/module-setup.sh
|
|
Harald Hoyer |
fe68ba |
+++ b/modules.d/99fs-lib/module-setup.sh
|
|
Harald Hoyer |
fe68ba |
@@ -20,9 +20,6 @@ echo_fs_helper() {
|
|
Harald Hoyer |
fe68ba |
ext?)
|
|
Harald Hoyer |
fe68ba |
echo -n " e2fsck "
|
|
Harald Hoyer |
fe68ba |
;;
|
|
Harald Hoyer |
fe68ba |
- f2fs)
|
|
Harald Hoyer |
fe68ba |
- echo -n " fsck.f2fs "
|
|
Harald Hoyer |
fe68ba |
- ;;
|
|
Harald Hoyer |
fe68ba |
jfs)
|
|
Harald Hoyer |
fe68ba |
echo -n " jfs_fsck "
|
|
Harald Hoyer |
fe68ba |
;;
|
|
Harald Hoyer |
fe68ba |
@@ -74,7 +71,7 @@ install() {
|
|
Harald Hoyer |
fe68ba |
_helpers="\
|
|
Harald Hoyer |
fe68ba |
umount mount /sbin/fsck*
|
|
Harald Hoyer |
fe68ba |
xfs_db xfs_check xfs_repair xfs_metadump
|
|
Harald Hoyer |
fe68ba |
- e2fsck fsck.f2fs jfs_fsck reiserfsck btrfsck
|
|
Harald Hoyer |
fe68ba |
+ e2fsck jfs_fsck reiserfsck btrfsck
|
|
Harald Hoyer |
fe68ba |
"
|
|
Harald Hoyer |
fe68ba |
if [[ $hostonly ]]; then
|
|
Harald Hoyer |
fe68ba |
_helpers="umount mount "
|
|
Harald Hoyer |
fe68ba |
|