Symlink busybox commands
This commit is contained in:
8
.wifisd/init.d/01busybox.sh
Normal file → Executable file
8
.wifisd/init.d/01busybox.sh
Normal file → Executable file
@@ -2,3 +2,11 @@
|
|||||||
# based on http://haxit.blogspot.ch/2013/08/hacking-transcend-wifi-sd-cards.html
|
# based on http://haxit.blogspot.ch/2013/08/hacking-transcend-wifi-sd-cards.html
|
||||||
cp /mnt/sd/.wifisd/busybox-armv5l /bin/busybox-extra
|
cp /mnt/sd/.wifisd/busybox-armv5l /bin/busybox-extra
|
||||||
chmod a+x /bin/busybox-extra
|
chmod a+x /bin/busybox-extra
|
||||||
|
for SCMD in ftpd; do
|
||||||
|
rm /usr/sbin/$SCMD
|
||||||
|
ln -s /bin/busybox-extra /usr/sbin/$SCMD
|
||||||
|
done
|
||||||
|
for CMD in ftpget ftpput; do
|
||||||
|
rm /usr/bin/$CMD
|
||||||
|
ln -s /bin/busybox-extra /usr/bin/$CMD
|
||||||
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user