OXIESEC PANEL
- Current Dir:
/
/
etc
/
rcS.d
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/20/2025 05:23:23 PM
rwxr-xr-x
📄
S01apparmor
4.23 KB
03/22/2018 08:20:28 PM
rwxr-xr-x
📄
S01cryptdisks
937 bytes
03/18/2018 01:01:09 AM
rwxr-xr-x
📄
S01cryptdisks-early
978 bytes
03/18/2018 01:01:09 AM
rwxr-xr-x
📄
S01ebtables
4.38 KB
06/28/2018 04:42:04 PM
rwxr-xr-x
📄
S01iscsid
1.47 KB
12/12/2018 12:14:17 AM
rwxr-xr-x
📄
S01keyboard-setup.sh
1.44 KB
02/15/2018 10:16:55 PM
rwxr-xr-x
📄
S01kmod
2 KB
08/15/2017 06:35:54 PM
rwxr-xr-x
📄
S01lvm2
695 bytes
12/03/2017 10:16:08 AM
rwxr-xr-x
📄
S01open-iscsi
2.44 KB
12/12/2018 12:14:17 AM
rwxr-xr-x
📄
S01plymouth-log
752 bytes
04/04/2019 02:33:20 PM
rwxr-xr-x
📄
S01procps
1.16 KB
01/17/2018 10:35:48 PM
rwxr-xr-x
📄
S01screen-cleanup
1.19 KB
05/21/2017 07:04:46 PM
rwxr-xr-x
📄
S01udev
5.83 KB
04/20/2018 04:55:56 PM
rwxr-xr-x
📄
S01ufw
2.03 KB
08/15/2017 04:47:54 PM
rwxr-xr-x
📄
S01x11-common
2.69 KB
01/20/2017 07:52:26 AM
rwxr-xr-x
Editing: S01ufw
Close
#!/bin/sh ### BEGIN INIT INFO # Provides: ufw # Required-Start: $local_fs # Required-Stop: $local_fs # Default-Start: S # Default-Stop: 1 # Short-Description: start firewall # Description: Start ufw firewall ### END INIT INFO set -e PATH="/sbin:/bin" [ -d /lib/ufw ] || exit 0 . /lib/lsb/init-functions for s in "/lib/ufw/ufw-init-functions" "/etc/ufw/ufw.conf" "/etc/default/ufw" ; do if [ -s "$s" ]; then . "$s" else log_failure_msg "Could not find $s (aborting)" exit 1 fi done error=0 case "$1" in start) if [ "$ENABLED" = "yes" ] || [ "$ENABLED" = "YES" ]; then log_action_begin_msg "Starting firewall:" "ufw" output=`ufw_start` || error="$?" if [ "$error" = "0" ]; then log_action_cont_msg "Setting kernel variables ($IPT_SYSCTL)" fi if [ ! -z "$output" ]; then echo "$output" | while read line ; do log_action_cont_msg "$line" done fi else log_action_begin_msg "Skip starting firewall:" "ufw (not enabled)" fi log_action_end_msg $error exit $error ;; stop) if [ "$ENABLED" = "yes" ] || [ "$ENABLED" = "YES" ]; then log_action_begin_msg "Stopping firewall:" "ufw" output=`ufw_stop` || error="$?" if [ ! -z "$output" ]; then log_action_cont_msg "$output" fi else log_action_begin_msg "Skip stopping firewall:" "ufw (not enabled)" fi log_action_end_msg $error exit $error ;; restart|force-reload) log_action_begin_msg "Reloading firewall:" "ufw" output=`ufw_reload` || error="$?" if [ ! -z "$output" ]; then log_action_cont_msg "$output" fi log_action_end_msg $error exit $error ;; status) output=`ufw_status` || error="$?" if [ ! -z "$output" ]; then log_action_cont_msg "$output" fi log_action_end_msg $error exit $error ;; *) echo "Usage: /etc/init.d/ufw {start|stop|restart|force-reload|status}" exit 1 ;; esac exit 0