summaryrefslogtreecommitdiffstats
path: root/package/dropbear/S50dropbear
diff options
context:
space:
mode:
Diffstat (limited to 'package/dropbear/S50dropbear')
-rw-r--r--package/dropbear/S50dropbear2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/dropbear/S50dropbear b/package/dropbear/S50dropbear
index 8938789509..765d6a3e1d 100644
--- a/package/dropbear/S50dropbear
+++ b/package/dropbear/S50dropbear
@@ -18,7 +18,7 @@ start() {
# - the filesystem is RW (i.e. we can rm the symlink),
# replace the symlink with an actual directory
if [ -L /etc/dropbear \
- -a "$(readlink -f /etc/dropbear)" = "/var/run/dropbear" ]
+ -a "$(readlink /etc/dropbear)" = "/var/run/dropbear" ]
then
if rm -f /etc/dropbear; then
mkdir -p /etc/dropbear
OpenPOWER on IntegriCloud