Christos Nouskas avatar 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
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.