aboutsummaryrefslogtreecommitdiff
blob: c17680c445bfdb5abebd89a411a61ee0f2b228ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

RUN_DEFAULT_FUNCS="no"

source /tmp/chroot-functions.sh

# Only run depscan.sh if modules exist
if [ -n "$(ls /lib/modules)" ]
then
	/sbin/depscan.sh
	find /lib/modules -name modules.dep -exec touch {} \;
fi