Skip to content

Commit

Permalink
Remove sudo from load target
Browse files Browse the repository at this point in the history
inserting / removing modules is a privileged task. It's not our job to run is
as root. Rather, the user should know that (s)he has to run "sudo make load"
just like "sudo make install"
  • Loading branch information
Lekensteyn committed Sep 17, 2011
1 parent 75dcc23 commit f953c44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Expand Up @@ -10,5 +10,5 @@ clean:
$(MAKE) -C $(KDIR) M=$(PWD) clean $(MAKE) -C $(KDIR) M=$(PWD) clean


load: load:
-sudo /sbin/rmmod acpi_call -/sbin/rmmod acpi_call
sudo /sbin/insmod acpi_call.ko /sbin/insmod acpi_call.ko

0 comments on commit f953c44

Please sign in to comment.