#!/bin/bash # configures IPX on $1 if appropriate PATH=/sbin:/usr/sbin:/bin:/usr/bin if [ "$1" = "" ]; then echo $"usage: $0 " exit 1 fi # cannot configure IPX with non-existant utilities [ -x /sbin/ipx_interface ] || exit 0 . /etc/sysconfig/network case $IPX in yes|true) ;; *) exit 0 ;; esac cd /etc/sysconfig/network-scripts . network-functions CONFIG=$1 [ -f "$CONFIG" ] || CONFIG=ifcfg-$CONFIG source_config for frametype in 802.2 802.3 ETHERII SNAP ; do framename=$(echo $frametype | sed 's/\./_/') eval ACT=\$IPXACTIVE_$framename case $ACT in yes|true) eval PRIM=\$IPXPRIMARY_$framename case $PRIM in yes|true) primary=-p ;; *) primary= ;; esac eval NUM=\$IPXNETNUM_$framename /sbin/ipx_interface add $primary $1 $frametype $NUM ;; esac done exit 0 > The forums.mageia.org WebsiteMaat [maat]
aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/db/migration/tool
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2015-01-21 16:59:26 +0100
committerAndreas Fischer <bantu@phpbb.com>2015-01-21 16:59:26 +0100
commit3bbddbb963a80722738c6c6bacc4abcb301e70eb (patch)
tree20964af11b27831d4ec47528bad0f52996a46f71 /phpBB/phpbb/db/migration/tool
parent768d0a064108b8dfbc93e75e76deaf9d06e1466e (diff)
parenta737eeb6cea2d494be4c8ae5e1101d1015746191 (diff)
downloadforums-3bbddbb963a80722738c6c6bacc4abcb301e70eb.tar
forums-3bbddbb963a80722738c6c6bacc4abcb301e70eb.tar.gz
forums-3bbddbb963a80722738c6c6bacc4abcb301e70eb.tar.bz2
forums-3bbddbb963a80722738c6c6bacc4abcb301e70eb.tar.xz
forums-3bbddbb963a80722738c6c6bacc4abcb301e70eb.zip
Merge branch 'develop-ascraeus' into develop