summaryrefslogtreecommitdiff
path: root/files/etc
diff options
context:
space:
mode:
Diffstat (limited to 'files/etc')
-rwxr-xr-xfiles/etc/init.d/container_init5
1 files changed, 5 insertions, 0 deletions
diff --git a/files/etc/init.d/container_init b/files/etc/init.d/container_init
index 386dcbd..706ebe4 100755
--- a/files/etc/init.d/container_init
+++ b/files/etc/init.d/container_init
@@ -43,5 +43,10 @@ boot() {
log_output -p daemon.info "ip tables loaded successfully"
fi
fi
+
+ for r in /lib/modules/*; do
+ ln -s $r /lib/modules/$(uname -r)
+ break
+ done
exit $res
}