diff options
author | Mikael Magnusson <mikma@users.sourceforge.net> | 2018-02-28 00:48:00 +0100 |
---|---|---|
committer | Mikael Magnusson <mikma@users.sourceforge.net> | 2018-02-28 00:48:00 +0100 |
commit | 552543d717de964bc6ebc18c6926a7fcf1560537 (patch) | |
tree | a11449e7dc343734ef80d2ea2d58bb9b393b6502 /build_rootfs.sh | |
parent | be73c7abc4762807e7b36a70efdd0ac428c98c12 (diff) |
Fix regression when enabling rc.d script
Diffstat (limited to 'build_rootfs.sh')
-rwxr-xr-x | build_rootfs.sh | 2 |
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 |