403Webshell
Server IP : 159.253.20.91  /  Your IP : 216.73.216.111
Web Server : nginx/1.20.2
System : Linux se38c9e53.fastvps-server.com 5.10.0-13-amd64 #1 SMP Debian 5.10.106-1 (2022-03-17) x86_64
User : pr11_ru_usr ( 1041)
PHP Version : 8.1.29
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/doc/ifupdown/examples/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/doc/ifupdown/examples/pcmcia-compat.sh
#!/bin/sh

if [ ! -e /etc/pcmcia/shared ]; then exit 1; fi

pcmcia_shared () {
	. /etc/pcmcia/shared
}

iface="$1"

# /etc/pcmcia/shared sucks
pcmcia_shared "start" $iface
usage () {
	exit 1
}

get_info $iface
HWADDR=`/sbin/ifconfig $DEVICE | sed -n -e 's/.*addr \([^ ]*\) */\1/p'`

which=""
while read glob scheme; do
	if [ "$which" ]; then continue; fi
	case "$SCHEME,$SOCKET,$INSTANCE,$HWADDR" in
		$glob) which=$scheme ;;
	esac
done

if [ "$which" ]; then echo $which; exit 0; fi
exit 1

Youez - 2016 - github.com/yon3zu
LinuXploit