aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-04-07 10:29:42 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-04-07 10:29:42 +0000
commite700dcaf0493e0ea159594ba8b7b70ab1242ee18 (patch)
tree768d14af0bb5d9a7f6056553341d03ef0cec2471 /package/base-files
parentd368cc63fe4d95935d74661d4f667dbec23c3d01 (diff)
downloadupstream-e700dcaf0493e0ea159594ba8b7b70ab1242ee18.tar.gz
upstream-e700dcaf0493e0ea159594ba8b7b70ab1242ee18.tar.bz2
upstream-e700dcaf0493e0ea159594ba8b7b70ab1242ee18.zip
/lib/functions.sh: remove jffs2_mark_erase()
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40410
Diffstat (limited to 'package/base-files')
-rwxr-xr-xpackage/base-files/files/lib/functions.sh9
1 files changed, 0 insertions, 9 deletions
diff --git a/package/base-files/files/lib/functions.sh b/package/base-files/files/lib/functions.sh
index 42886b1466..018fe2c12a 100755
--- a/package/base-files/files/lib/functions.sh
+++ b/package/base-files/files/lib/functions.sh
@@ -331,15 +331,6 @@ macaddr_canonicalize()
printf "%02x:%02x:%02x:%02x:%02x:%02x" 0x${canon// / 0x} 2>/dev/null
}
-jffs2_mark_erase() {
- local part="$(find_mtd_part "$1")"
- [ -z "$part" ] && {
- echo Partition not found.
- return 1
- }
- echo -e "\xde\xad\xc0\xde" | mtd -qq write - "$1"
-}
-
group_add() {
local name="$1"
local gid="$2"