[hipl-dev] [Branch ~hipl-core/hipl/trunk] Rev 5967: Remove needless stdout redirection from openwrt init scripts.

  • From: noreply@xxxxxxxxxxxxx
  • To: HIPL core team <hipl-dev@xxxxxxxxxxxxx>
  • Date: Wed, 15 Jun 2011 12:59:14 -0000

------------------------------------------------------------
revno: 5967
committer: David Martin <david.martin.mailbox@xxxxxxxxxxxxxx>
branch nick: hipl_init-scripts
timestamp: Wed 2011-06-15 14:45:43 +0200
message:
  Remove needless stdout redirection from openwrt init scripts.
  
  Kill does not print anything, there is no need to redirect its output
  to /dev/null.
modified:
  packaging/openwrt/hipl/files/hipd.init
  packaging/openwrt/hipl/files/hipfw.init


--
lp:hipl
https://code.launchpad.net/~hipl-core/hipl/trunk

Your team HIPL core team is subscribed to branch lp:hipl.
To unsubscribe from this branch go to 
https://code.launchpad.net/~hipl-core/hipl/trunk/+edit-subscription
=== modified file 'packaging/openwrt/hipl/files/hipd.init'
--- packaging/openwrt/hipl/files/hipd.init      2011-06-09 19:11:46 +0000
+++ packaging/openwrt/hipl/files/hipd.init      2011-06-15 12:45:43 +0000
@@ -19,7 +19,7 @@
 
 stop_daemon() {
     PID=$(cat $PID_FILE)
-    kill $PID > /dev/null
+    kill $PID
 }
 
 start() {

=== modified file 'packaging/openwrt/hipl/files/hipfw.init'
--- packaging/openwrt/hipl/files/hipfw.init     2011-06-09 19:11:46 +0000
+++ packaging/openwrt/hipl/files/hipfw.init     2011-06-15 12:45:43 +0000
@@ -19,7 +19,7 @@
 
 stop_daemon() {
     PID=$(cat $PID_FILE)
-    kill $PID > /dev/null
+    kill $PID
 }
 
 start() {

Other related posts:

  • » [hipl-dev] [Branch ~hipl-core/hipl/trunk] Rev 5967: Remove needless stdout redirection from openwrt init scripts. - noreply