summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2019-09-03 17:58:46 +0000
committerMikael Magnusson <mikma@users.sourceforge.net>2019-09-03 17:58:46 +0000
commitdb471ef594966c1cae528159f1dfcca44a6a3229 (patch)
tree906a737fae96079805902c425ad1fb819de63969
parentfa8378ce1103bce0a5d2c43721dfa1d4ae9c66d3 (diff)
Fix if statement
-rwxr-xr-xfiles/etc/init.d/container_init2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/etc/init.d/container_init b/files/etc/init.d/container_init
index b47f1c5..7e8d225 100755
--- a/files/etc/init.d/container_init
+++ b/files/etc/init.d/container_init
@@ -47,6 +47,6 @@ boot() {
if [ ! -e /lib/modules/$(uname -r) ]; then
local modulesdir=$(basename $(dirname $(opkg files kmod-ipt-core|grep "/lib/modules/[0-9].*"|head -1)))
ln -s $modulesdir /lib/modules/$(uname -r)
- done
+ fi
exit $res
}