| Server IP : 85.214.239.14 / Your IP : 216.73.216.104 Web Server : Apache/2.4.65 (Debian) System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64 User : www-data ( 33) PHP Version : 8.2.29 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /proc/3/task/3/cwd/proc/3/task/3/root/proc/2/task/2/cwd/etc/init.d/ |
Upload File : |
#!/bin/sh
### BEGIN INIT INFO
# Provides: mount-configfs
# Required-Start: mountkernfs
# Required-Stop:
# Should-Start: kmod
# Default-Start: S
# Default-Stop:
# Short-Description: Mount configfs kernel virtual file system.
# Description: Mount configfs kernel virtual file system,
# if "configfs" module is loaded.
### END INIT INFO
set -eu
export PATH=/usr/bin:/bin
case ${1:-missing} in
(start|restart|force-reload)
readonly mountpoint='/sys/kernel/config'
# This directory exists only if "configfs" module was loaded by "kmod"
# script.
test -d "${mountpoint}" || exit 0
! findmnt "${mountpoint}" >/dev/null || exit 0
mount none -t configfs "${mountpoint}"
;;
(stop)
# No-op
;;
(*)
echo "Usage: mount-configfs [start|stop]" >&2
exit 3
;;
esac