summaryrefslogtreecommitdiffstats
path: root/80cfw
diff options
context:
space:
mode:
authorDaniel Hillenbrand <daniel.hillenbrand@codeworkx.de>2012-07-22 15:24:24 +0200
committerDaniel Hillenbrand <daniel.hillenbrand@codeworkx.de>2012-07-22 15:24:24 +0200
commitd30210153d8f19a0ca825b33f2282b9ae071c6ec (patch)
tree36c5d3485edbdcc6788ae0e1f7306d0f9885b686 /80cfw
parent44378b730efd28a958ac35e3d294e1c04472ff79 (diff)
downloaddevice_samsung_i9300-d30210153d8f19a0ca825b33f2282b9ae071c6ec.zip
device_samsung_i9300-d30210153d8f19a0ca825b33f2282b9ae071c6ec.tar.gz
device_samsung_i9300-d30210153d8f19a0ca825b33f2282b9ae071c6ec.tar.bz2
jellybeaned
Diffstat (limited to '80cfw')
-rw-r--r--80cfw14
1 files changed, 5 insertions, 9 deletions
diff --git a/80cfw b/80cfw
index ccdd906..ba04436 100644
--- a/80cfw
+++ b/80cfw
@@ -3,12 +3,8 @@
# Copy camera firmware to /data/cfw
#
-if [ ! -f /data/cfw/SlimISP_GD.bin ];
-then
- busybox cp /system/vendor/firmware/SlimISP_GD.bin /data/cfw/SlimISP_GD.bin
-fi
-
-if [ ! -f /data/cfw/SlimISP_ZD.bin ];
-then
- busybox cp /system/vendor/firmware/SlimISP_ZD.bin /data/cfw/SlimISP_ZD.bin
-fi
+busybox cp /system/vendor/firmware/SlimISP_GD.bin /data/cfw/SlimISP_GD.bin
+busybox cp /system/vendor/firmware/SlimISP_ZD.bin /data/cfw/SlimISP_ZD.bin
+busybox chown system /data/cfw/*
+busybox chgrp media /data/cfw/*
+busybox chmod 0775 /data/cfw/*