Advertisement
Guest User

Untitled

a guest
Jan 7th, 2014
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.84 KB | None | 0 0
  1. xbian@xbian ~ $ DEVNAME=/dev/sda FORCE_RUN=yes VERBOSE=yes /etc/init.d/hdparm hotplug
  2. + . /lib/lsb/init-functions
  3. + run-parts --lsbsysinit --list /lib/lsb/init-functions.d
  4. + [ -r /lib/lsb/init-functions.d/20-left-info-blocks ]
  5. + . /lib/lsb/init-functions.d/20-left-info-blocks
  6. + FANCYTTY=
  7. + [ -e /etc/lsb-base-logging.sh ]
  8. + true
  9. + RAID_WORKAROUND=no
  10. + [ -e /etc/default/hdparm ]
  11. + . /etc/default/hdparm
  12. + RAID_WORKAROUND=no
  13. + raid_speed_limit_min=
  14. + raid_speed_limit_max=
  15. + FIRST=yes
  16. + UDEV=yes
  17. + [ /dev/sda ]
  18. + [ yes != yes ]
  19. + WAS_RUN=0
  20. + [ != OK ]
  21. + [ no = yes ]
  22. + [ yes = yes ]
  23. + DISC=
  24. + DEFAULT=
  25. + OPTIONS=
  26. + DEF_QUIET=
  27. + OPT_QUIET=
  28. + + read KEY SEP VALUE
  29. egrep -v ^[[:space:]]*(#|$) /etc/hdparm.conf
  30. + [ != go ]
  31. + [ -n ]
  32. + DEF_QUIET=-q
  33. + read KEY SEP VALUE
  34. + [ != go ]
  35. + [ -h /dev/sda ]
  36. + DISC=/dev/sda
  37. + OPTIONS=
  38. + OPT_QUIET=-q
  39. + WAS_RUN=0
  40. + [ yes = yes ]
  41. + [ /dev/sda = /dev/sda ]
  42. + IN_BLOCK=1
  43. + read KEY SEP VALUE
  44. + [ != go ]
  45. + set_option -S60
  46. + test -n /dev/sda
  47. + NEW_OPT=
  48. + OPTIONS= -q -S60
  49. + read KEY SEP VALUE
  50. + [ != go ]
  51. + [ -z /dev/sda ]
  52. + [ -n -q -S60 ]
  53. + [ -b /dev/sda ]
  54. + [ -n ]
  55. + ret=0
  56. + [ yes = yes ]
  57. + [ 1 = 1 ]
  58. + /sbin/hdparm -q -S60 /dev/sda
  59. + ret=13
  60. + [ yes = yes ]
  61. + log_progress_msg /dev/sda
  62. + [ -z /dev/sda ]
  63. + /bin/echo -n /dev/sda
  64. /dev/sda+ log_end_msg 13
  65. + [ -z 13 ]
  66. + local retval
  67. + retval=13
  68. + log_end_msg_pre 13
  69. + log_use_fancy_output
  70. + TPUT=/usr/bin/tput
  71. + EXPR=/usr/bin/expr
  72. + [ -t 1 ]
  73. + [ xxterm != x ]
  74. + [ xxterm != xdumb ]
  75. + [ -x /usr/bin/tput ]
  76. + [ -x /usr/bin/expr ]
  77. + /usr/bin/tput hpa 60
  78. + /usr/bin/tput setaf 1
  79. + [ -z ]
  80. + FANCYTTY=1
  81. + true
  82. + /usr/bin/tput setaf 1
  83. + RED=
  84. + /usr/bin/tput setaf 2
  85. + GREEN=
  86. + /usr/bin/tput setaf 3
  87. + YELLOW=
  88. + /usr/bin/tput op
  89. + NORMAL=
  90. + /usr/bin/tput civis
  91. + /usr/bin/tput sc
  92. + /usr/bin/tput hpa 0
  93. + [ 13 -eq 0 ]
  94. + [ 13 -eq 255 ]
  95. + /bin/echo -ne [FAIL
  96. [FAIL+ /usr/bin/tput rc
  97. + /usr/bin/tput cnorm
  98. + log_use_fancy_output
  99. + TPUT=/usr/bin/tput
  100. + EXPR=/usr/bin/expr
  101. + [ -t 1 ]
  102. + [ xxterm != x ]
  103. + [ xxterm != xdumb ]
  104. + [ -x /usr/bin/tput ]
  105. + [ -x /usr/bin/expr ]
  106. + /usr/bin/tput hpa 60
  107. + /usr/bin/tput setaf 1
  108. + [ -z 1 ]
  109. + true
  110. + true
  111. + /usr/bin/tput setaf 1
  112. + RED=
  113. + /usr/bin/tput setaf 3
  114. + YELLOW=
  115. + /usr/bin/tput op
  116. + NORMAL=
  117. + [ 13 -eq 0 ]
  118. + [ 13 -eq 255 ]
  119. + /bin/echo -e failed!
  120. failed!
  121. + log_end_msg_post 13
  122. + :
  123. + return 13
  124. + true
  125. + read KEY SEP VALUE
  126. + [ != go ]
  127. + [ -h /dev/sdb ]
  128. + DISC=/dev/sdb
  129. + OPTIONS=
  130. + OPT_QUIET=-q
  131. + WAS_RUN=0
  132. + [ yes = yes ]
  133. + [ /dev/sdb = /dev/sda ]
  134. + IN_BLOCK=0
  135. + read KEY SEP VALUE
  136. + [ != go ]
  137. + set_option -S60
  138. + test -n /dev/sdb
  139. + NEW_OPT=
  140. + OPTIONS= -q -S60
  141. + read KEY SEP VALUE
  142. + [ != go ]
  143. + [ -z /dev/sdb ]
  144. + [ -n -q -S60 ]
  145. + [ -b /dev/sdb ]
  146. + read KEY SEP VALUE
  147. + [ -n ]
  148. + [ yes = no -a 0 = 0 ]
  149. + exit 0
  150. xbian@xbian ~ $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement