OXIESEC PANEL
- Current Dir:
/
/
snap
/
core
/
17200
/
etc
/
rcS.d
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
06/06/2024 02:31:58 PM
rwxr-xr-x
📄
README
447 bytes
01/19/2016 06:33:50 PM
rw-r--r--
📄
S01console-setup
1.31 KB
04/04/2016 05:41:49 PM
rwxr-xr-x
📄
S02apparmor
6.08 KB
03/03/2017 10:52:31 PM
rwxr-xr-x
📄
S02hostname.sh
1.39 KB
01/19/2016 06:33:51 PM
rwxr-xr-x
📄
S02mountkernfs.sh
1.53 KB
01/19/2016 06:33:51 PM
rwxr-xr-x
📄
S02pppd-dns
612 bytes
01/27/2016 04:19:52 PM
rwxr-xr-x
📄
S02resolvconf
4.05 KB
11/29/2017 06:26:46 PM
rwxr-xr-x
📄
S03udev
5.94 KB
04/02/2021 02:39:40 AM
rwxr-xr-x
📄
S04keyboard-setup
1.76 KB
04/04/2016 05:41:49 PM
rwxr-xr-x
📄
S05mountdevsubfs.sh
1.43 KB
01/19/2016 06:33:51 PM
rwxr-xr-x
📄
S05procps
1.16 KB
09/06/2015 05:30:20 AM
rwxr-xr-x
📄
S06hwclock.sh
3.72 KB
03/12/2016 03:14:57 PM
rwxr-xr-x
📄
S07checkroot.sh
9.13 KB
01/19/2016 06:33:51 PM
rwxr-xr-x
📄
S08checkfs.sh
3.72 KB
01/19/2016 06:33:51 PM
rwxr-xr-x
📄
S09checkroot-bootclean.sh
1.07 KB
01/19/2016 06:33:51 PM
rwxr-xr-x
📄
S09kmod
2.04 KB
11/12/2018 09:55:37 PM
rwxr-xr-x
📄
S09urandom
3.04 KB
01/19/2016 06:33:51 PM
rwxr-xr-x
📄
S10mountall.sh
2.25 KB
01/19/2016 06:33:51 PM
rwxr-xr-x
📄
S10networking
4.66 KB
11/30/2016 05:16:19 PM
rwxr-xr-x
📄
S11mountall-bootclean.sh
703 bytes
01/19/2016 06:33:50 PM
rwxr-xr-x
📄
S11mountnfs.sh
2.4 KB
01/19/2016 06:33:51 PM
rwxr-xr-x
📄
S12mountnfs-bootclean.sh
711 bytes
01/19/2016 06:33:51 PM
rwxr-xr-x
📄
S13bootmisc.sh
1.25 KB
01/19/2016 06:33:51 PM
rwxr-xr-x
Editing: S09kmod
Close
#!/bin/sh -e ### BEGIN INIT INFO # Provides: kmod # Required-Start: # Required-Stop: # Should-Start: checkroot # Should-Stop: # Default-Start: S # Default-Stop: # Short-Description: Load the modules listed in /etc/modules. # Description: Load the modules listed in /etc/modules. ### END INIT INFO # Silently exit if the kernel does not support modules. [ -f /proc/modules ] || exit 0 [ -x /sbin/modprobe ] || exit 0 [ -f /etc/default/rcS ] && . /etc/default/rcS . /lib/lsb/init-functions PATH='/sbin:/bin' case "$1" in start) if init_is_upstart; then exit 1 fi ;; stop|restart|reload|force-reload) log_warning_msg "Action '$1' is meaningless for this init script" exit 0 ;; *) log_success_msg "Usage: $0 start" exit 1 esac load_module() { local module args module="$1" args="$2" if [ "$VERBOSE" != no ]; then log_action_msg "Loading kernel module $module" modprobe $module $args || true else modprobe $module $args > /dev/null 2>&1 || true fi } modules_files() { local modules_load_dirs='/etc/modules-load.d /run/modules-load.d /usr/local/lib/modules-load.d /usr/lib/modules-load.d /lib/modules-load.d' local processed=' ' local add_etc_modules=true for dir in $modules_load_dirs; do [ -d $dir ] || continue for file in $(run-parts --list --regex='\.conf$' $dir 2> /dev/null || true); do local base=${file##*/} if echo -n "$processed" | grep -qF " $base "; then continue fi if [ "$add_etc_modules" -a -L $file \ -a "$(readlink -f $file)" = /etc/modules ]; then add_etc_modules= fi processed="$processed$base " echo $file done done if [ "$add_etc_modules" ]; then echo /etc/modules fi } if [ "$VERBOSE" = no ]; then log_action_begin_msg 'Loading kernel modules' fi files=$(modules_files) if [ "$files" ] ; then grep -h '^[^#]' $files | while read module args; do [ "$module" ] || continue load_module "$module" "$args" done fi if [ "$VERBOSE" = no ]; then log_action_end_msg 0 fi