MOON
Server: Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4
System: Linux vps.panamaemb.org.sg 3.10.0-1160.80.1.vz7.191.4 #1 SMP Thu Dec 15 20:31:06 MSK 2022 x86_64
User: panama (500)
PHP: 5.2.17
Disabled: NONE
Upload Files
File: //proc/self/root/proc/3/root/proc/2/root/lib/udev/MAKEDEV.dev
#!/bin/sh

if [ "$ACTION" = "add" -a -e "$DEVNAME" ]; then
	if [ -x /usr/bin/logger ]; then
	    LOGGER=/usr/bin/logger
	elif [ -x /bin/logger ]; then
	    LOGGER=/bin/logger
	else
	    unset LOGGER
	fi
	#
	# for diagnostics
	#
	if [ -f /etc/udev/udev.conf ]; then
        	. /etc/udev/udev.conf
	fi


	if [ -t 1 -o -z "$LOGGER" ]; then
	    mesg () {
	        echo "$@"
	    }
	else
	    mesg () {
	        $LOGGER -t $(basename $0)"[$$]" "$@"
	    }
	fi

	debug_mesg () {
	    test -z "$UDEV_LOG" -o "$UDEV_LOG" != "1" && return
	    mesg "$@"
	}

	debug_mesg "/sbin/MAKEDEV ${DEVNAME#$udev_root}"
	/sbin/MAKEDEV "${DEVNAME#$udev_root}"
	debug_mesg "Restoring permissions for " $DEVNAME*
	/sbin/pam_console_apply $DEVNAME*
fi