Advertisement
Guest User

Untitled

a guest
Jan 7th, 2014
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.75 KB | None | 0 0
  1. root@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. + + readegrep KEY -v SEP VALUE ^[[:space:]]*(#|$) /etc/hdparm.conf
  29.  
  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. + [ yes = yes ]
  60. + log_progress_msg /dev/sda
  61. + [ -z /dev/sda ]
  62. + /bin/echo -n /dev/sda
  63. /dev/sda+ log_end_msg 0
  64. + [ -z 0 ]
  65. + local retval
  66. + retval=0
  67. + log_end_msg_pre 0
  68. + log_use_fancy_output
  69. + TPUT=/usr/bin/tput
  70. + EXPR=/usr/bin/expr
  71. + [ -t 1 ]
  72. + [ xxterm != x ]
  73. + [ xxterm != xdumb ]
  74. + [ -x /usr/bin/tput ]
  75. + [ -x /usr/bin/expr ]
  76. + /usr/bin/tput hpa 60
  77. + /usr/bin/tput setaf 1
  78. + [ -z ]
  79. + FANCYTTY=1
  80. + true
  81. + /usr/bin/tput setaf 1
  82. + RED=
  83. + /usr/bin/tput setaf 2
  84. + GREEN=
  85. + /usr/bin/tput setaf 3
  86. + YELLOW=
  87. + /usr/bin/tput op
  88. + NORMAL=
  89. + /usr/bin/tput civis
  90. + /usr/bin/tput sc
  91. + /usr/bin/tput hpa 0
  92. + [ 0 -eq 0 ]
  93. + /bin/echo -ne [ ok
  94. [ ok + /usr/bin/tput rc
  95. + /usr/bin/tput cnorm
  96. + log_use_fancy_output
  97. + TPUT=/usr/bin/tput
  98. + EXPR=/usr/bin/expr
  99. + [ -t 1 ]
  100. + [ xxterm != x ]
  101. + [ xxterm != xdumb ]
  102. + [ -x /usr/bin/tput ]
  103. + [ -x /usr/bin/expr ]
  104. + /usr/bin/tput hpa 60
  105. + /usr/bin/tput setaf 1
  106. + [ -z 1 ]
  107. + true
  108. + true
  109. + /usr/bin/tput setaf 1
  110. + RED=
  111. + /usr/bin/tput setaf 3
  112. + YELLOW=
  113. + /usr/bin/tput op
  114. + NORMAL=
  115. + [ 0 -eq 0 ]
  116. + echo .
  117. .
  118. + log_end_msg_post 0
  119. + :
  120. + return 0
  121. + read KEY SEP VALUE
  122. + [ != go ]
  123. + [ -h /dev/sdb ]
  124. + DISC=/dev/sdb
  125. + OPTIONS=
  126. + OPT_QUIET=-q
  127. + WAS_RUN=0
  128. + [ yes = yes ]
  129. + [ /dev/sdb = /dev/sda ]
  130. + IN_BLOCK=0
  131. + read KEY SEP VALUE
  132. + [ != go ]
  133. + set_option -S60
  134. + test -n /dev/sdb
  135. + NEW_OPT=
  136. + OPTIONS= -q -S60
  137. + read KEY SEP VALUE
  138. + [ != go ]
  139. + [ -z /dev/sdb ]
  140. + [ -n -q -S60 ]
  141. + [ -b /dev/sdb ]
  142. + read KEY SEP VALUE
  143. + [ -n ]
  144. + [ yes = no -a 0 = 0 ]
  145. + exit 0
  146. root@xbian:~#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement