1diff --git a/data/gsmartcontrol-root.in b/data/gsmartcontrol-root.in
2--- a/data/gsmartcontrol-root.in
3+++ b/data/gsmartcontrol-root.in
4@@ -8,7 +8,7 @@
5 # Run gsmartcontrol with root, asking for root password first.
6 # export GSMARTCONTROL_SU to override a su command (e.g. "kdesu -c").
7
8-EXEC_BIN="@prefix@/sbin/gsmartcontrol";
9+EXEC_BIN="@prefix@/bin/gsmartcontrol";
10 prog_name="gsmartcontrol"
11
12
13@@ -118,7 +118,7 @@
14 # Add @prefix@/sbin as well (freebsd seems to require it).
15 # Note that beesu won't show a GUI login box if /usr/sbin is before /usr/bin,
16 # so add it first as well.
17-EXTRA_PATHS="/usr/bin:/usr/sbin:/usr/local/sbin:@prefix@/sbin";
18+EXTRA_PATHS="/usr/bin:/usr/sbin:/usr/local/sbin:@prefix@/bin";
19 export PATH="$EXTRA_PATHS:$PATH"
20
21
22diff --git a/src/Makefile.am b/src/Makefile.am
23--- a/src/Makefile.am
24+++ b/src/Makefile.am
25@@ -24,7 +24,7 @@
26 # endif
27
28
29-sbin_PROGRAMS = gsmartcontrol
30+bin_PROGRAMS = gsmartcontrol
31
32 gsmartcontrol_LDADD = $(top_builddir)/src/applib/libapplib.a \
33 $(top_builddir)/src/libdebug/libdebug.a \