Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- xbian@xbian ~ $ DEVNAME=/dev/sda FORCE_RUN=yes VERBOSE=yes /etc/init.d/hdparm hotplug
- + . /lib/lsb/init-functions
- + run-parts --lsbsysinit --list /lib/lsb/init-functions.d
- + [ -r /lib/lsb/init-functions.d/20-left-info-blocks ]
- + . /lib/lsb/init-functions.d/20-left-info-blocks
- + FANCYTTY=
- + [ -e /etc/lsb-base-logging.sh ]
- + true
- + RAID_WORKAROUND=no
- + [ -e /etc/default/hdparm ]
- + . /etc/default/hdparm
- + RAID_WORKAROUND=no
- + raid_speed_limit_min=
- + raid_speed_limit_max=
- + FIRST=yes
- + UDEV=yes
- + [ /dev/sda ]
- + [ yes != yes ]
- + WAS_RUN=0
- + [ != OK ]
- + [ no = yes ]
- + [ yes = yes ]
- + DISC=
- + DEFAULT=
- + OPTIONS=
- + DEF_QUIET=
- + OPT_QUIET=
- + + read KEY SEP VALUE
- egrep -v ^[[:space:]]*(#|$) /etc/hdparm.conf
- + [ != go ]
- + [ -n ]
- + DEF_QUIET=-q
- + read KEY SEP VALUE
- + [ != go ]
- + [ -h /dev/sda ]
- + DISC=/dev/sda
- + OPTIONS=
- + OPT_QUIET=-q
- + WAS_RUN=0
- + [ yes = yes ]
- + [ /dev/sda = /dev/sda ]
- + IN_BLOCK=1
- + read KEY SEP VALUE
- + [ != go ]
- + set_option -S60
- + test -n /dev/sda
- + NEW_OPT=
- + OPTIONS= -q -S60
- + read KEY SEP VALUE
- + [ != go ]
- + [ -z /dev/sda ]
- + [ -n -q -S60 ]
- + [ -b /dev/sda ]
- + [ -n ]
- + ret=0
- + [ yes = yes ]
- + [ 1 = 1 ]
- + /sbin/hdparm -q -S60 /dev/sda
- + ret=13
- + [ yes = yes ]
- + log_progress_msg /dev/sda
- + [ -z /dev/sda ]
- + /bin/echo -n /dev/sda
- /dev/sda+ log_end_msg 13
- + [ -z 13 ]
- + local retval
- + retval=13
- + log_end_msg_pre 13
- + log_use_fancy_output
- + TPUT=/usr/bin/tput
- + EXPR=/usr/bin/expr
- + [ -t 1 ]
- + [ xxterm != x ]
- + [ xxterm != xdumb ]
- + [ -x /usr/bin/tput ]
- + [ -x /usr/bin/expr ]
- + /usr/bin/tput hpa 60
- + /usr/bin/tput setaf 1
- + [ -z ]
- + FANCYTTY=1
- + true
- + /usr/bin/tput setaf 1
- + RED=
- + /usr/bin/tput setaf 2
- + GREEN=
- + /usr/bin/tput setaf 3
- + YELLOW=
- + /usr/bin/tput op
- + NORMAL=
- + /usr/bin/tput civis
- + /usr/bin/tput sc
- + /usr/bin/tput hpa 0
- + [ 13 -eq 0 ]
- + [ 13 -eq 255 ]
- + /bin/echo -ne [FAIL
- [FAIL+ /usr/bin/tput rc
- + /usr/bin/tput cnorm
- + log_use_fancy_output
- + TPUT=/usr/bin/tput
- + EXPR=/usr/bin/expr
- + [ -t 1 ]
- + [ xxterm != x ]
- + [ xxterm != xdumb ]
- + [ -x /usr/bin/tput ]
- + [ -x /usr/bin/expr ]
- + /usr/bin/tput hpa 60
- + /usr/bin/tput setaf 1
- + [ -z 1 ]
- + true
- + true
- + /usr/bin/tput setaf 1
- + RED=
- + /usr/bin/tput setaf 3
- + YELLOW=
- + /usr/bin/tput op
- + NORMAL=
- + [ 13 -eq 0 ]
- + [ 13 -eq 255 ]
- + /bin/echo -e failed!
- failed!
- + log_end_msg_post 13
- + :
- + return 13
- + true
- + read KEY SEP VALUE
- + [ != go ]
- + [ -h /dev/sdb ]
- + DISC=/dev/sdb
- + OPTIONS=
- + OPT_QUIET=-q
- + WAS_RUN=0
- + [ yes = yes ]
- + [ /dev/sdb = /dev/sda ]
- + IN_BLOCK=0
- + read KEY SEP VALUE
- + [ != go ]
- + set_option -S60
- + test -n /dev/sdb
- + NEW_OPT=
- + OPTIONS= -q -S60
- + read KEY SEP VALUE
- + [ != go ]
- + [ -z /dev/sdb ]
- + [ -n -q -S60 ]
- + [ -b /dev/sdb ]
- + read KEY SEP VALUE
- + [ -n ]
- + [ yes = no -a 0 = 0 ]
- + exit 0
- xbian@xbian ~ $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement