Skip to content
This repository has been archived by the owner on Dec 14, 2020. It is now read-only.

Commit

Permalink
There is a bug with the post-mount script that is created by the entw…
Browse files Browse the repository at this point in the history
…are-setup.sh script.

admin@RT-AC56U-A658:/tmp# /jffs/scripts/post-mount
[: /tmp/mnt/sda1: unknown operand

The issue is the whitespace around the = command.
  • Loading branch information
geordish committed Jul 27, 2015
1 parent 1fae37d commit 111d8b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion release/src/router/others/entware.arm/entware-setup.sh
Expand Up @@ -108,7 +108,7 @@ chmod +x /jffs/scripts/services-stop
cat > /jffs/scripts/post-mount << EOF
#!/bin/sh
if [ \$1 = "__Partition__" ]
if [ \$1 ="__Partition__"]
then
ln -nsf \$1/entware.arm /tmp/opt
fi
Expand Down
2 changes: 1 addition & 1 deletion release/src/router/others/entware.mips/entware-setup.sh
Expand Up @@ -108,7 +108,7 @@ chmod +x /jffs/scripts/services-stop
cat > /jffs/scripts/post-mount << EOF
#!/bin/sh
if [ \$1 = "__Partition__" ]
if [ \$1 ="__Partition__"]
then
ln -nsf \$1/entware /tmp/opt
fi
Expand Down

0 comments on commit 111d8b3

Please sign in to comment.