Linux 120.141.167.72.host.secureserver.net 4.18.0-553.150.1.el8_10.x86_64 #1 SMP Fri Jul 31 15:23:31 EDT 2026 x86_64
Apache
: 72.167.141.120 | : 216.73.217.14
808 Domain
7.4.33
bestseocompany
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
src /
csf /
[ HOME SHELL ]
Name
Size
Permission
Action
ConfigServer
[ DIR ]
drwxr-xr-x
Crypt
[ DIR ]
drwxr-xr-x
HTTP
[ DIR ]
drwxr-xr-x
JSON
[ DIR ]
drwxr-xr-x
Module
[ DIR ]
drwxr-xr-x
Net
[ DIR ]
drwxr-xr-x
cpanel
[ DIR ]
drwxr-xr-x
csf
[ DIR ]
drwxr-xr-x
cwp
[ DIR ]
drwxr-xr-x
cyberpanel
[ DIR ]
drwxr-xr-x
da
[ DIR ]
drwxr-xr-x
interworx
[ DIR ]
drwxr-xr-x
messenger
[ DIR ]
drwxr-xr-x
profiles
[ DIR ]
drwxr-xr-x
ui
[ DIR ]
drwxr-xr-x
version
[ DIR ]
drwxr-xr-x
vestacp
[ DIR ]
drwxr-xr-x
webmin
[ DIR ]
drwxr-xr-x
LICENSE.md
35.26
KB
-rw-r--r--
README.md
121.25
KB
-rw-r--r--
accounttracking.txt
124
B
-rw-r--r--
alert.txt
181
B
-rw-r--r--
apache.http.txt
770
B
-rw-r--r--
apache.https.txt
1
KB
-rw-r--r--
apache.main.txt
0
B
-rw-r--r--
apf_stub.pl
2.2
KB
-rw-r--r--
auto.cwp.pl
16.5
KB
-rw-r--r--
auto.cyberpanel.pl
15.98
KB
-rw-r--r--
auto.directadmin.pl
16.83
KB
-rw-r--r--
auto.generic.pl
15.98
KB
-rw-r--r--
auto.interworx.pl
15.98
KB
-rw-r--r--
auto.pl
38.31
KB
-rwx------
auto.vesta.pl
16.49
KB
-rw-r--r--
changelog.txt
248.34
KB
-rw-r--r--
connectiontracking.txt
192
B
-rw-r--r--
consolealert.txt
76
B
-rw-r--r--
cpanel.allow
5.01
KB
-rw-r--r--
cpanel.comodo.allow
3.86
KB
-rw-r--r--
cpanel.comodo.ignore
3.07
KB
-rw-r--r--
cpanel.ignore
2.23
KB
-rw-r--r--
cpanelalert.txt
155
B
-rw-r--r--
csf.1.txt
7.71
KB
-rw-r--r--
csf.allow
1.91
KB
-rw-r--r--
csf.blocklists
8.41
KB
-rw-r--r--
csf.c
2.68
KB
-rw-r--r--
csf.cloudflare
2.84
KB
-rw-r--r--
csf.conf
132.74
KB
-rw-r--r--
csf.cwp.allow
1.84
KB
-rw-r--r--
csf.cwp.conf
126.66
KB
-rw-r--r--
csf.cwp.ignore
1.5
KB
-rw-r--r--
csf.cwp.pignore
4.1
KB
-rw-r--r--
csf.cyberpanel.allow
1.75
KB
-rw-r--r--
csf.cyberpanel.conf
126.42
KB
-rw-r--r--
csf.cyberpanel.ignore
1.49
KB
-rw-r--r--
csf.cyberpanel.pignore
3.64
KB
-rw-r--r--
csf.deny
1.74
KB
-rw-r--r--
csf.directadmin.allow
1.77
KB
-rw-r--r--
csf.directadmin.conf
129.06
KB
-rw-r--r--
csf.directadmin.ignore
1.48
KB
-rw-r--r--
csf.directadmin.pignore
3.45
KB
-rw-r--r--
csf.dirwatch
1.63
KB
-rw-r--r--
csf.div
12.44
KB
-rw-r--r--
csf.dyndns
1.91
KB
-rw-r--r--
csf.fignore
2.01
KB
-rw-r--r--
csf.generic.allow
1.79
KB
-rw-r--r--
csf.generic.conf
126.29
KB
-rw-r--r--
csf.generic.ignore
1.49
KB
-rw-r--r--
csf.generic.pignore
3.09
KB
-rw-r--r--
csf.help
0
B
-rw-r--r--
csf.ignore
1.57
KB
-rw-r--r--
csf.interworx.allow
1.81
KB
-rw-r--r--
csf.interworx.conf
126.71
KB
-rw-r--r--
csf.interworx.ignore
1.5
KB
-rw-r--r--
csf.interworx.pignore
3.68
KB
-rw-r--r--
csf.logfiles
1.9
KB
-rw-r--r--
csf.logignore
4.95
KB
-rw-r--r--
csf.mignore
1.4
KB
-rw-r--r--
csf.pignore
6.11
KB
-rw-r--r--
csf.pl
273.46
KB
-rwx------
csf.rblconf
1.76
KB
-rw-r--r--
csf.rbls
1.82
KB
-rw-r--r--
csf.redirect
2.2
KB
-rw-r--r--
csf.resellers
3.22
KB
-rw-r--r--
csf.rignore
2.67
KB
-rw-r--r--
csf.service
270
B
-rw-r--r--
csf.sh
14.07
KB
-rw-r--r--
csf.signore
1.4
KB
-rw-r--r--
csf.sips
1.48
KB
-rw-r--r--
csf.smtpauth
1.66
KB
-rw-r--r--
csf.suignore
1.35
KB
-rw-r--r--
csf.syslogs
3.28
KB
-rw-r--r--
csf.syslogusers
2.32
KB
-rw-r--r--
csf.uidignore
1.42
KB
-rw-r--r--
csf.vesta.allow
1.78
KB
-rw-r--r--
csf.vesta.conf
126.57
KB
-rw-r--r--
csf.vesta.ignore
1.48
KB
-rw-r--r--
csf.vesta.pignore
4.12
KB
-rw-r--r--
csfajaxtail.js
7.69
KB
-rw-r--r--
csfcron.sh
14
B
-rw-r--r--
csfpost.sh
13.39
KB
-rw-r--r--
csfpre.sh
13.39
KB
-rw-r--r--
csftest.pl
6.85
KB
-rw-r--r--
csget.pl
47.69
KB
-rw-r--r--
downloadservers
105
B
-rw-r--r--
exploitalert.txt
129
B
-rw-r--r--
filealert.txt
151
B
-rw-r--r--
forkbombalert.txt
132
B
-rw-r--r--
global.sh
22.51
KB
-rw-r--r--
install.cpanel.sh
42.97
KB
-rwxr-xr-x
install.cwp.sh
41.16
KB
-rwxr-xr-x
install.cyberpanel.sh
52.2
KB
-rwxr-xr-x
install.directadmin.sh
39.1
KB
-rwxr-xr-x
install.generic.sh
38.1
KB
-rwxr-xr-x
install.interworx.sh
39.48
KB
-rwxr-xr-x
install.sh
7.75
KB
-rwxr-xr-x
install.txt
3.64
KB
-rw-r--r--
install.vesta.sh
38.54
KB
-rwxr-xr-x
integrityalert.txt
374
B
-rw-r--r--
lfd.logrotate
172
B
-rw-r--r--
lfd.pl
410.82
KB
-rwx------
lfd.service
215
B
-rw-r--r--
lfd.sh
3.1
KB
-rw-r--r--
lfdcron.directadmin.sh
74
B
-rw-r--r--
lfdcron.sh
74
B
-rw-r--r--
license.txt
34.33
KB
-rw-r--r--
litespeed.http.txt
262
B
-rw-r--r--
litespeed.https.txt
1.17
KB
-rw-r--r--
litespeed.main.txt
0
B
-rw-r--r--
loadalert.txt
1.19
KB
-rw-r--r--
logalert.txt
103
B
-rw-r--r--
logfloodalert.txt
101
B
-rw-r--r--
migratedata.sh
9.33
KB
-rw-r--r--
modsecipdbalert.txt
211
B
-rw-r--r--
netblock.txt
191
B
-rw-r--r--
os.pl
7.93
KB
-rwx------
perf.sh
361
B
-rw-r--r--
permblock.txt
209
B
-rw-r--r--
portknocking.txt
129
B
-rw-r--r--
portscan.txt
175
B
-rw-r--r--
processtracking.txt
391
B
-rw-r--r--
pt_deleted_action.pl
2.09
KB
-rw-r--r--
queuealert.txt
97
B
-rw-r--r--
readme.txt
67.33
KB
-rw-r--r--
recaptcha.txt
143
B
-rw-r--r--
regex.custom.pm
3.28
KB
-rw-r--r--
regex.txt
13.39
KB
-rw-r--r--
relayalert.txt
196
B
-rw-r--r--
remove_apf_bfd.sh
397
B
-rw-r--r--
resalert.txt
260
B
-rw-r--r--
reselleralert.txt
181
B
-rw-r--r--
restricted.txt
1.2
KB
-rw-r--r--
sanity.txt
4.93
KB
-rw-r--r--
scriptalert.txt
200
B
-rw-r--r--
sshalert.txt
195
B
-rw-r--r--
sualert.txt
180
B
-rw-r--r--
sudoalert.txt
180
B
-rw-r--r--
syslogalert.txt
194
B
-rw-r--r--
tracking.txt
298
B
-rw-r--r--
uialert.txt
129
B
-rw-r--r--
uidscan.txt
150
B
-rw-r--r--
uninstall.cwp.sh
1.73
KB
-rwxr-xr-x
uninstall.cyberpanel.sh
1.94
KB
-rwxr-xr-x
uninstall.directadmin.sh
1.64
KB
-rwxr-xr-x
uninstall.generic.sh
1.52
KB
-rwxr-xr-x
uninstall.interworx.sh
1.85
KB
-rwxr-xr-x
uninstall.sh
2.21
KB
-rwxr-xr-x
uninstall.vesta.sh
1.68
KB
-rwxr-xr-x
upgrade.txt
1.68
KB
-rw-r--r--
usertracking.txt
192
B
-rw-r--r--
version.txt
5
B
-rw-r--r--
watchalert.txt
129
B
-rw-r--r--
webminalert.txt
165
B
-rw-r--r--
x-arf.txt
1.2
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : csf.sh
#!/bin/sh # # # @app ConfigServer Security & Firewall (CSF) # Login Failure Daemon (LFD) # @website https://configserver.dev # @docs https://docs.configserver.dev # @download https://download.configserver.dev # @repo https://github.com/Aetherinox/csf-firewall # @copyright Copyright (C) 2025-2026 Aetherinox # Copyright (C) 2006-2025 Jonathan Michaelson # Copyright (C) 2006-2025 Way to the Web Ltd. # @license GPLv3 # @updated 02.12.2026 # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or (at # your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, see <https://www.gnu.org/licenses>. # # # # chkconfig: 2345 15 80 # description: ConfigServer Firewall # ### BEGIN INIT INFO # Provides: csf # Required-Start: $network # Required-Stop: $network # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # X-Start-Before: $syslog # Short-Description: ConfigServer Firewall (csf) # Description: ConfigServer Firewall (csf) init script ### END INIT INFO # # # # Allow for execution from different relative directories # # case $0 in /*) script="$0" ;; # Absolute path *) script="$(pwd)/$0" ;; # Relative path esac # # # Find script directory # # script_dir=$(dirname "$script") # # # Change working directory # # cd "$script_dir" || exit 1 # # # Define › Files # # app_file_this=$(basename "$0") # global.sh (with ext) app_file_bin="${app_file_this%.*}" # global (without ext) # # # CSF Init Script (POSIX-compliant with argument loop) # # DAEMON="/usr/sbin/csf" LOCKFILE="/var/lock/subsys/csf" VERBOSE=0 NOLOCK=0 COMMAND="" # # # Define › General # # app_name="ConfigServer Security & Firewall" app_desc="Robust linux iptables/nftables firewall" app_repo="https://github.com/aetherinox/csf-firewall" app_version_file="$script_dir/version.txt" app_version=$( [ -f "$app_version_file" ] && grep -v '^[[:space:]]*$' "$app_version_file" | sed -n '1s/^[[:space:]]*//;s/[[:space:]]*$//p' || true ) : "${app_version:=15}" # # # Define › Colors # # Use the color table at: # - https://gist.github.com/fnky/458719343aabd01cfb17a3a4f7296797 # # esc=$(printf '\033') end="${esc}[0m" bold="${esc}[1m" dim="${esc}[2m" underline="${esc}[4m" blink="${esc}[5m" white="${esc}[97m" black="${esc}[0;30m" redl="${esc}[0;91m" redd="${esc}[38;5;196m" magental="${esc}[0;95m" magentad="${esc}[0;35m" fuchsial="${esc}[38;5;198m" fuchsiad="${esc}[38;5;161m" bluel="${esc}[38;5;75m" blued="${esc}[38;5;33m" greenl="${esc}[38;5;76m" greend="${esc}[38;5;2m" orangel="${esc}[0;93m" oranged="${esc}[38;5;202m" yellowl="${esc}[38;5;190m" yellowd="${esc}[38;5;184m" greyl="${esc}[38;5;250m" greym="${esc}[38;5;244m" greyd="${esc}[0;90m" navy="${esc}[38;5;62m" olive="${esc}[38;5;144m" peach="${esc}[38;5;210m" cyan="${esc}[38;5;6m" # # # Define › Logging functions # # error( ) { printf '%-28s %-65s\n' " ${redl} ERROR ${end}" "${greym} $1 ${end}" } warn( ) { printf '%-32s %-65s\n' " ${yellowl} WARN ${end}" "${greym} $1 ${end}" } status( ) { printf '%-31s %-65s\n' " ${bluel} STATUS ${end}" "${greym} $1 ${end}" } ok( ) { printf '%-31s %-65s\n' " ${greenl} OK ${end}" "${greym} $1 ${end}" } debug( ) { if [ "$argDevMode" = "true" ]; then printf '%-28s %-65s\n' " ${greyd} DEBUG ${end}" "${greym} $1 ${end}" fi } verbose( ) { if [ "$VERBOSE" -eq 1 ]; then printf '%-28s %-65s\n' " ${greyd} VERBOSE ${end}" "${greym} $1 ${end}" fi } label( ) { printf '%-31s %-65s\n' " ${navy} ${end}" "${navy} $1 ${end}" } print( ) { echo "${end}$1${end}" } # # # Define › Logging › Verbose # # log() { if [ "$VERBOSE" -eq 1 ]; then verbose " $@ " fi } # # # Usage Menu # # opt_usage( ) { # # # Define › Defaults # # status_verbose="disabled"; [ "$VERBOSE" -eq 1 ] && status_verbose="enabled" || : status_quiet="disabled"; [ "$VERBOSE" -eq 0 ] && status_quiet="enabled" || : status_nolock="disabled"; [ "$NOLOCK" -eq 1 ] && status_nolock="enabled" || : # # # Start Help Menu # # echo printf " ${bluel}${app_name}${end}\n" 1>&2 printf " ${greym}${app_desc}${end}\n" 1>&2 printf " ${greyd}version:${end} ${greyd}$app_version${end}\n" 1>&2 printf " ${fuchsiad}$app_file_this${end} ${greyd}[ ${greym}--verbose${greyd} | ${greym}--quiet${greyd} | ${greym}--no-lock${greyd} ] { ${greym}start${greyd} | ${greym}stop${greyd} | ${greym}status${greyd} | ${greym}restart${greyd} | ${greym}force-reload${greyd} | ${greym}reload${greyd} | ${greym}restart-all${greyd} | ${greym}enable${greyd} | ${greym}disable${greyd} }${end} " 1>&2 echo echo printf ' %-5s %-40s\n' "${greyd}Syntax:${end}" "" 1>&2 printf ' %-5s %-30s %-40s\n' " " "${greyd}Flags${end} " "" 1>&2 printf ' %-5s %-30s %-40s\n' " " " ${greym}-A${end} " " ${white}required flag" 1>&2 printf ' %-5s %-30s %-40s\n' " " " ${greym}-A...${end} " " ${white}required flag; multiple flags can be specified" 1>&2 printf ' %-5s %-30s %-40s\n' " " " ${greym}[ -A ]${end} " " ${white}optional flag" 1>&2 printf ' %-5s %-30s %-40s\n' " " " ${greym}[ -A... ]${end} " " ${white}optional flag; multiple flags can be specified" 1>&2 printf ' %-5s %-30s %-40s\n' " " " ${greym}{ -A | -B }${end} " " ${white}one flag or the other; do not use both" 1>&2 printf ' %-5s %-30s %-40s\n' " " "${greyd}Arguments${end} " "${fuchsiad}$app_file_this${end} ${greyd}[ ${greym}-d${yellowd} arg${greyd} | ${greym}--flag ${yellowd}arg${greyd} ]${end}${yellowd} arg${end}" 1>&2 printf ' %-5s %-30s %-40s\n' " " "${greyd}Examples${end} " "${fuchsiad}$app_file_this${end} ${greym}start${yellowd} ${end}" 1>&2 printf ' %-5s %-30s %-40s\n' " " "${greyd}${end} " "${fuchsiad}$app_file_this${end} ${greym}--verbose start${yellowd} ${end}" 1>&2 printf ' %-5s %-30s %-40s\n' " " "${greyd}${end} " "${fuchsiad}$app_file_this${end} ${greym}--no-lock stop${yellowd} ${end}" 1>&2 printf ' %-5s %-30s %-40s\n' " " "${greyd}${end} " "${fuchsiad}$app_file_this${end} ${greym}--help${greyd} | ${greym}-h${greyd} | ${greym}/?${end}" 1>&2 echo printf ' %-5s %-40s\n' "${greyd}Flags:${end}" "" 1>&2 printf ' %-5s %-81s %-40s\n' " " "${blued}-v${greyd},${blued} --verbose ${yellowd}${end} " "show detailed output of script actions for debugging or informational purposes ${navy}<default> ${peach}${status_verbose:-"disabled"} ${end}" 1>&2 printf ' %-5s %-81s %-40s\n' " " "${blued}-q${greyd},${blued} --quiet ${yellowd}${end} " "suppress most output; only show essential messages or errors ${navy}<default> ${peach}${status_quiet:-"enabled"} ${end}" 1>&2 printf ' %-5s %-81s %-40s\n' " " "${blued}-n${greyd},${blued} --no-lock ${yellowd}${end} " "do not create a lock file; bypass init lock mechanism ${navy}<default> ${peach}${status_nolock:-"disabled"} ${end}" 1>&2 printf ' %-5s %-81s %-40s\n' " " "${blued}-v${greyd},${blued} --version ${yellowd}${end} " "current version of this utilty ${navy}<current> ${peach}${app_version:-"unknown"} ${end}" 1>&2 printf ' %-5s %-81s %-40s\n' " " "${blued}-h${greyd},${blued} --help ${yellowd}${end} " "show this help menu ${end}" 1>&2 echo printf ' %-5s %-40s\n' "${greyd}Actions:${end}" "" 1>&2 printf ' %-5s %-81s %-40s\n' " " "${blued} ${greyd} ${blued} start ${yellowd}${end} " "start the CSF firewall daemon ${end}" 1>&2 printf ' %-5s %-81s %-40s\n' " " "${blued} ${greyd} ${blued} stop ${yellowd}${end} " "stop the CSF firewall daemon ${end}" 1>&2 printf ' %-5s %-81s %-40s\n' " " "${blued} ${greyd} ${blued} status ${yellowd}${end} " "display the current status of the CSF daemon ${end}" 1>&2 printf ' %-5s %-81s %-40s\n' " " "${blued} ${greyd} ${blued} restart ${yellowd}${end} " "restart the CSF daemon ${end}" 1>&2 printf ' %-5s %-81s %-40s\n' " " "${blued} ${greyd} ${blued} reload ${yellowd}${end} " "reload CSF configuration without full restart ${end}" 1>&2 printf ' %-5s %-81s %-40s\n' " " "${blued} ${greyd} ${blued} force-reload ${yellowd}${end} " "force reload CSF configuration (stop/start) ${end}" 1>&2 printf ' %-5s %-81s %-40s\n' " " "${blued} ${greyd} ${blued} restart-all ${yellowd}${end} " "force restart CSF and LFD services ${end}" 1>&2 printf ' %-5s %-81s %-40s\n' " " "${blued} ${greyd} ${blued} enable ${yellowd}${end} " "enable the CSF firewall daemon ${end}" 1>&2 printf ' %-5s %-81s %-40s\n' " " "${blued} ${greyd} ${blued} disable ${yellowd}${end} " "disable the CSF firewall daemon ${end}" 1>&2 echo echo } # # # Parse command-line arguments # # while [ "$#" -gt 0 ]; do case "$1" in --verbose|-v) VERBOSE=1 ;; --quiet|-q) VERBOSE=0 ;; --no-lock|-n) NOLOCK=1 ;; -h|--help|\?) opt_usage exit 1 ;; -V|--version) echo print " ${blued}${bold}${app_name}${end} - v$app_version " print " ${greenl}${bold}${app_repo} " echo exit 1 ;; start|stop|status|restart|force-reload|reload|ra|restart-all|enable|disable) COMMAND="$1" ;; *) echo error " ❌ Unknown flag ${redl}$1${greym}. Aborting." label " ${end}${fuchsiad}$app_file_this${end} ${greyd}[${greym}--verbose${greyd}|${greym}--quiet${greyd}|${greym}--no-lock${greyd}] {${greym}start${greyd}|${greym}stop${greyd}|${greym}status${greyd}|${greym}restart${greyd}|${greym}force-reload${greyd}|${greym}reload${greyd}|${greym}restart-all${greyd}|${greym}enable${greyd}|${greym}disable}" echo exit 1 ;; esac shift done # # # Exit if csf binary not found # # if [ ! -x "$DAEMON" ]; then error " ${redl}$DAEMON${end} not found or not executable." exit 1 else log "Daemon path: ${navy}$DAEMON" fi # # # Lock file # # log "Lock file: ${navy}$LOCKFILE" # # # Source system function library if available # # if [ -f /etc/init.d/functions ]; then . /etc/init.d/functions log "Loaded: ${navy}/etc/init.d/functions" else log "Not found: ${navy}/etc/init.d/functions" fi # # # Source SuSE rc.status if available # # if [ -f /etc/SuSE-release ]; then if [ -f /etc/rc.status ]; then . /etc/rc.status if command -v rc_reset >/dev/null 2>&1; then rc_reset fi fi fi # # # Ensure a command was provided # # if [ -z "$COMMAND" ]; then label " ${end}Usage: ${fuchsiad}$app_file_this${end} ${redl}[--verbose|--quiet|--no-lock] {start|stop|status|restart|force-reload|reload|restart-all|enable|disable}" exit 1 fi # # # Command handler # # Only used on: # start|stop|status|restart|force-reload|reload|ra|restart-all|enable|disable # # case "$COMMAND" in start) status_msg="$("$DAEMON" --initup 2>&1)" status " Starting ${bluel}${DAEMON}${end}: ${status_msg}" if [ -f /etc/SuSE-release ]; then if command -v rc_status >/dev/null 2>&1; then rc_status -v fi elif [ -f /etc/debian_version ] || [ -f /etc/lsb-release ] || [ -f /etc/gentoo-release ]; then ok " Successfully started ${greenl}${DAEMON}" else if command -v success >/dev/null 2>&1; then success else ok " Successfully started ${greenl}${DAEMON}" fi fi if [ "$NOLOCK" -eq 0 ] && [ -d /var/lock/subsys ]; then : > "$LOCKFILE" log "Lock file created: ${navy}$LOCKFILE" fi ;; stop) debug " ${redd}WARNING:${redl} This script should ONLY be used by the init process." debug " ${redl}To restart csf use the CLI command 'csf -r" status_msg="$("$DAEMON" --initdown 2>&1)" status " Stopping ${bluel}${DAEMON}${end}: ${status_msg}" "$DAEMON" --stop >/dev/null 2>&1 label " ${end}Flushing chains" if [ -f /etc/SuSE-release ]; then if command -v rc_status >/dev/null 2>&1; then rc_status -v fi elif [ -f /etc/debian_version ] || [ -f /etc/lsb-release ] || [ -f /etc/gentoo-release ]; then ok " Action ${greenl}stop${greym} complete " else if command -v success >/dev/null 2>&1; then success else ok " Action ${greenl}stop${greym} complete " fi fi if [ "$NOLOCK" -eq 0 ] && [ -d /var/lock/subsys ]; then rm -f "$LOCKFILE" log "Lock file removed: ${navy}$LOCKFILE" fi ;; status) status " Daemon status ${bluel}${DAEMON}" "$DAEMON" --status ;; restart|force-reload|reload) "$script_dir/$app_file_this" ${VERBOSE:+--verbose} ${NOLOCK:+--no-lock} stop "$script_dir/$app_file_this" ${VERBOSE:+--verbose} ${NOLOCK:+--no-lock} start ;; ra|restart-all) status " Restarting both ${bluel}csf${greym} and ${bluel}lfd" "$DAEMON" -ra ;; enable) status_msg="$("$DAEMON" -e 2>&1)" status " Enabling ${bluel}${DAEMON}${end}: ${status_msg}" ;; disable) status_msg="$("$DAEMON" -x 2>&1)" status " Disabling ${bluel}${DAEMON}${end}: ${status_msg}" ;; esac exit 0
Close