diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-04-07 10:29:42 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-04-07 10:29:42 +0000 |
commit | 79be8946a780f1c3fb40bdc0959c75709d33b9b9 (patch) | |
tree | fa5a7d1808a94add7136b91b1537e75efead84e5 | |
parent | 63ec4c522fd3696b23c44407195425723e33a96b (diff) | |
download | upstream-79be8946a780f1c3fb40bdc0959c75709d33b9b9.tar.gz upstream-79be8946a780f1c3fb40bdc0959c75709d33b9b9.tar.bz2 upstream-79be8946a780f1c3fb40bdc0959c75709d33b9b9.zip |
/lib/functions.sh: remove jffs2_mark_erase()
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40410 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-x | package/base-files/files/lib/functions.sh | 9 |
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" |