Commits

Christos Nouskas committed 2d7537d

Busting my head about 'sudo modprobe config/configs' behaviour

Comments (0)

Files changed (1)

   read answer
   shopt -s nocasematch
   if [[ "$answer" = "y" ]]; then
-     msg "running 'sudo modprobe configs'"
-     sudo modprobe configs
-     if [[ -s /proc/config.gz ]]; then
+     if [[ -s /proc/configf.gz ]]; then
 	msg "Extracting config from /proc/config.gz..."
 	zcat /proc/config.gz >| ./.config
      else
+	msg "running 'sudo modprobe configs'"
+	sudo modprobe configs
 	msg "You kernel was not compiled with IKCONFIG_PROC."
 	# Copied from kernel26-ck's PKGBUILD
-	msg "Attempting to run /usr/bin/reload_database from modprobe_db..."
-	if [ -e /usr/bin/reload_database ]; then
-	   /usr/bin/reload_database
+	msg "Attempting to run /usr/bin/modprobed_db recall from modprobe_db..."
+	if [ -e /usr/bin/modprobed_db ]; then
+	   sudo /usr/bin/modprobed_db recall
 	fi
 	msg "Running make localmodconfig instead..."
 #	chmod +x ./scripts/kconfig/streamline_config.pl