summaryrefslogtreecommitdiff
path: root/package/e2fsprogs/files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-01-29 10:48:46 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-01-29 10:48:46 +0000
commit483dfb483e12e660267721a99bf97c572cb72795 (patch)
tree84490c282740e3c0c90ae98baf5d0091b25049cd /package/e2fsprogs/files
parentab1287beadc3396709bef189459bb5a3059bb6be (diff)
downloadmtk-20170518-483dfb483e12e660267721a99bf97c572cb72795.zip
mtk-20170518-483dfb483e12e660267721a99bf97c572cb72795.tar.gz
mtk-20170518-483dfb483e12e660267721a99bf97c572cb72795.tar.bz2
move a few packages to system/utils
SVN-Revision: 35375
Diffstat (limited to 'package/e2fsprogs/files')
-rw-r--r--package/e2fsprogs/files/e2fsck.conf3
-rw-r--r--package/e2fsprogs/files/e2fsck.sh38
2 files changed, 0 insertions, 41 deletions
diff --git a/package/e2fsprogs/files/e2fsck.conf b/package/e2fsprogs/files/e2fsck.conf
deleted file mode 100644
index 9c96b49..0000000
--- a/package/e2fsprogs/files/e2fsck.conf
+++ /dev/null
@@ -1,3 +0,0 @@
-[options]
-broken_system_clock = true
-
diff --git a/package/e2fsprogs/files/e2fsck.sh b/package/e2fsprogs/files/e2fsck.sh
deleted file mode 100644
index 22031ed..0000000
--- a/package/e2fsprogs/files/e2fsck.sh
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/bin/sh
-# Copyright 2010 Vertical Communications
-# Copyright 2012 OpenWrt.org
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-fsck_e2fsck() {
- set -o pipefail
- e2fsck -p "$device" 2>&1 | logger -t "fstab: e2fsck ($device)"
- local status="$?"
- set +o pipefail
- case "$status" in
- 0|1) ;; #success
- 2) reboot;;
- 4) echo "e2fsck ($device): Warning! Uncorrected errors."| logger -t fstab
- return 1
- ;;
- *) echo "e2fsck ($device): Error $status. Check not complete."| logger -t fstab;;
- esac
- return 0
-}
-
-fsck_ext2() {
- fsck_e2fsck "$@"
-}
-
-fsck_ext3() {
- fsck_e2fsck "$@"
-}
-
-fsck_ext4() {
- fsck_e2fsck "$@"
-}
-
-append libmount_known_fsck "ext2"
-append libmount_known_fsck "ext3"
-append libmount_known_fsck "ext4"