From a45f20c0266103ed948d4a644e6d6d1c33a90b38 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 28 Dec 2014 13:47:45 -0500 Subject: refactor --- powertop.trisquel7 | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'powertop.trisquel7') diff --git a/powertop.trisquel7 b/powertop.trisquel7 index 342d4f6..6495216 100755 --- a/powertop.trisquel7 +++ b/powertop.trisquel7 @@ -35,10 +35,7 @@ update-rc.d powertop remove rm -rf /etc/init.d/powertop # write the correct commands there: -cp powertop.trisquel7.init /etc/init.d/powertop - -# make it executable: -chmod +x /etc/init.d/powertop +install -Dm755 powertop.trisquel7.init /etc/init.d/powertop # Add the service to make it run automatically at boot time: update-rc.d powertop defaults @@ -46,4 +43,3 @@ update-rc.d powertop defaults # Run powertop now and tell the user powertop --auto-tune echo "Done. Run 'powertop --auto-tune' now. This will also run automatically at boot time. Run it again at any time, if needed. This has also been done for you just now." - -- cgit v1.2.3