summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2018-02-28 00:48:00 +0100
committerMikael Magnusson <mikma@users.sourceforge.net>2018-02-28 00:48:00 +0100
commit552543d717de964bc6ebc18c6926a7fcf1560537 (patch)
treea11449e7dc343734ef80d2ea2d58bb9b393b6502
parentbe73c7abc4762807e7b36a70efdd0ac428c98c12 (diff)
Fix regression when enabling rc.d script
-rwxr-xr-xbuild_rootfs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_rootfs.sh b/build_rootfs.sh
index 5262f43..863ff3a 100755
--- a/build_rootfs.sh
+++ b/build_rootfs.sh
@@ -77,7 +77,7 @@ add_file() {
if [ "$foo" = "./etc/init.d" ]; then
echo Enabling $file
set +e
- sh $instroot/etc/rc.common $src enable
+ env IPKG_INSTROOT=$instroot sh $instroot/etc/rc.common $dst enable
set -e
fi
fi