path: drbl_5.8.2-1/sbin/drbl-proxy-dhcp echo $msg_delimiter_star_line # Checking the services pidof_dnsmasq="$(LC_LALL=C pidof dnsmasq)" pidof_dhcpd="$(LC_ALL=C pidof dhcpd)" pidof_tftpd="$(LC_ALL=C pidof in.tftpd)" path: drbl_5.8.2-1/sbin/drbl-proxy-dhcp pidof_dhcpd="$(LC_ALL=C pidof dhcpd)" pidof_tftpd="$(LC_ALL=C pidof in.tftpd)" if [ -z "$pidof_dnsmasq" -a -n "$pidof_dhcpd" -a -n "$pidof_tftpd" ]; then [ "$BOOTUP" = "color" ] && $SETCOLOR_SUCCESS echo "Proxy DHCP mode disabled successfully!" path: drbl_5.8.2-1/sbin/drbl-proxy-dhcp echo $msg_delimiter_star_line # Checking the services pidof_dnsmasq="$(LC_LALL=C pidof dnsmasq)" pidof_dhcpd="$(LC_ALL=C pidof dhcpd)" pidof_tftpd="$(LC_ALL=C pidof in.tftpd)" path: drbl_5.8.2-1/sbin/drbl-proxy-dhcp pidof_dnsmasq="$(LC_LALL=C pidof dnsmasq)" pidof_dhcpd="$(LC_ALL=C pidof dhcpd)" pidof_tftpd="$(LC_ALL=C pidof in.tftpd)" if [ -n "$pidof_dnsmasq" -a -z "$pidof_dhcpd" -a -z "$pidof_tftpd" ]; then [ "$BOOTUP" = "color" ] && $SETCOLOR_SUCCESS path: drbl_5.8.2-1/sbin/drbl-proxy-dhcp # Checking the services pidof_dnsmasq="$(LC_LALL=C pidof dnsmasq)" pidof_dhcpd="$(LC_ALL=C pidof dhcpd)" pidof_tftpd="$(LC_ALL=C pidof in.tftpd)" if [ -z "$pidof_dnsmasq" -a -n "$pidof_dhcpd" -a -n "$pidof_tftpd" ]; then path: drbl_5.8.2-1/sbin/drbl-proxy-dhcp pidof_dhcpd="$(LC_ALL=C pidof dhcpd)" pidof_tftpd="$(LC_ALL=C pidof in.tftpd)" if [ -n "$pidof_dnsmasq" -a -z "$pidof_dhcpd" -a -z "$pidof_tftpd" ]; then [ "$BOOTUP" = "color" ] && $SETCOLOR_SUCCESS echo "Proxy DHCP mode enabled successfully!" path: drbl_5.8.2-1/sbin/drbl-proxy-dhcp pidof_dnsmasq="$(LC_LALL=C pidof dnsmasq)" pidof_dhcpd="$(LC_ALL=C pidof dhcpd)" pidof_tftpd="$(LC_ALL=C pidof in.tftpd)" if [ -z "$pidof_dnsmasq" -a -n "$pidof_dhcpd" -a -n "$pidof_tftpd" ]; then [ "$BOOTUP" = "color" ] && $SETCOLOR_SUCCESS path: drbl_5.8.2-1/sbin/drbl-proxy-dhcp # Checking the services pidof_dnsmasq="$(LC_LALL=C pidof dnsmasq)" pidof_dhcpd="$(LC_ALL=C pidof dhcpd)" pidof_tftpd="$(LC_ALL=C pidof in.tftpd)" if [ -n "$pidof_dnsmasq" -a -z "$pidof_dhcpd" -a -z "$pidof_tftpd" ]; then path: drbl_5.8.2-1/setup/files/RH/rc.sysinit.default-RH.drbl fi nashpid=$(pidof nash 2>/dev/null) [ -n "$nashpid" ] && kill $nashpid >/dev/null 2>&1 unset nashpid path: drbl_5.8.2-1/setup/files/RH/rc.sysinit.default-RH.drbl if [ "$PROMPT" != no ]; then while :; do pid=$(/sbin/pidof getkey) [ -n "$pid" ] || [ -e /var/run/getkey_done ] && break usleep 100000 path: drbl_5.8.2-1/sbin/drbl-all-service echo -n "Waiting for portmap to be started successfully..." while [ -z "$to_wait" ]; do if [ -z "$(LC_ALL=C pidof portmap)" ]; then initctl start portmap &>/dev/null ret=$? path: drbl_5.8.2-1/sbin/drbl-all-service to_wait="" while [ -z "$to_wait" ]; do if [ -z "$(LC_ALL=C pidof portmap)" ]; then to_wait="no" else path: drbl_5.8.2-1/sbin/drbl-all-service # Stopping rpcbind daemon.... # Starting rpcbind daemon...Already running.. <-- # root@debian:/tmp# pidof rpcbind # root@debian:/tmp# <-- Actually it's not running. drbl_startup_service $serv_st stop path: drbl_5.8.2-1/setup/files/misc/start_udev.drbl kill_udevd() { if [ -x /sbin/pidof ]; then pid=`/sbin/pidof -x udevd` [ -n "$pid" ] && kill $pid fi path: drbl_5.8.2-1/setup/files/misc/start_udev.drbl kill_udevd() { if [ -x /sbin/pidof ]; then pid=`/sbin/pidof -x udevd` [ -n "$pid" ] && kill $pid path: drbl_5.8.2-1/setup/files/misc/drblthincli default_dm="$(drbl-check-dm)" (cd /etc/rc2.d; ln -fs /etc/init.d/${default_dm} S99${default_dm}) PID_X="$(pidof X)" for ipid in $PID_X; do kill -9 $ipid