Software: Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.12 with Suhosin-Patch mod_ssl/2.2.8 OpenSSL/0.9.8g. PHP/5.2.4-2ubuntu5.12 uname -a: Linux forum.circlefusion.com 2.6.24-19-server #1 SMP Wed Jun 18 15:18:00 UTC 2008 i686 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /etc/rcS.d/ drwxr-xr-x |
Viewing file: S11mountdevsubfs.sh (1.43 KB) -rwxr-xr-x Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) | #! /bin/sh ### BEGIN INIT INFO # Provides: mountdevsubfs mountvirtfs # Required-Start: mountkernfs # Required-Stop: # Default-Start: S # Default-Stop: # Short-Description: Mount special file systems under /dev. # Description: Mount the virtual filesystems the kernel provides # that ordinarily live under the /dev filesystem. ### END INIT INFO PATH=/lib/init:/sbin:/bin TTYGRP=5 TTYMODE=620 [ -f /etc/default/devpts ] && . /etc/default/devpts TMPFS_SIZE= [ -f /etc/default/tmpfs ] && . /etc/default/tmpfs KERNEL="$(uname -s)" . /lib/lsb/init-functions . /lib/init/mount-functions.sh do_start () { # # Mount a tmpfs on /dev/shm # SHM_OPT= [ "${SHM_SIZE:=$TMPFS_SIZE}" ] && SHM_OPT="-osize=$SHM_SIZE" domount tmpfs shmfs /dev/shm $SHM_OPT # # Mount /dev/pts. Create master ptmx node if needed. # domount devpts "" /dev/pts -ogid=$TTYGRP,mode=$TTYMODE # # Magic to make /proc/bus/usb work # #mkdir -p /dev/bus/usb/.usbfs #domount usbfs "" /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644 #ln -s .usbfs/devices /dev/bus/usb/devices #mount --rbind /dev/bus/usb /proc/bus/usb } case "$1" in "") echo "Warning: mountdevsubfs should be called with the 'start' argument." >&2 do_start ;; start) do_start ;; restart|reload|force-reload) echo "Error: argument '$1' not supported" >&2 exit 3 ;; stop) # No-op ;; *) echo "Usage: mountdevsubfs [start|stop]" >&2 exit 3 ;; esac |
:: Command execute :: | |
--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.0341 ]-- |