Bugzilla – Attachment #470335: Patch disabling posix mode that may be set in profile for bug #739338
# - 1 on failure
###
unset POSIXLY_CORRECT ; set +o posix # we're using non-posix bash features
test "${DEBUG}" = yes && set -x
# helper functions
#!/bin/bash
# similar to remove_and_set rpm suse macro,
# but more flexible and able to handle files
# in subdirs of the etc/sysconfig directory.
#! /bin/bash
usage() {
echo -e $* >&2
echo >&2
# 192.168.100.12 tap2 eth0 tap1
#--
usage () {
echo $@
echo "usage: $0 [<config>] <interface> [-o <options>]"
# $Id$
#
# TODO:
# when closing first use -TERM (except if we just try with -0)
# for ichecking improve output and remove output from getdests() and nfscheck()
echo "Usage: if{up,down,status} [<config>] <interface> [-o <options>]"
# Marius Tomaschewski <mt@suse.de>, 2007-2009
echo "Usage: if{up,down}-802.1q [<config>] <interface> [-o <options>]"
# Author: Michael Schroeder <mls@suse.de>, 2004
echo "Usage: if{up,down,status}-autoip [<config>] <interface> [-o <options>]"
echo "Usage: if{up,down,status}-bonding [<config>] <interface> [-o <options>]"
echo "usage: if{up,down,status}-bridge [<config>] <interface> [-o <options>]"
# Peter Poeml <poeml@suse.de>, 2002-2006
echo "Usage: if{up,down,status}-dhcp [<config>] <interface> [-o <options>]"
echo "Usage: if{up,down,status}-infiniband [<config>] <interface> [-o <options>]"
function usage()
{
echo "Usage: if{up,down,status}-route [<config>] <interface> [-o <options>]"
echo "Usage: if{up,down,status}-services [<config>] <interface> [-o <options>]"
echo ""
# Author:
# Marius Tomaschewski <mt@suse.de>
echo "usage: if{up,down,status}-sysctl [<config>] <interface> [-o <options>]"
echo "Usage: if{up,down,status}-tunnel [<config>] <interface> [-o <options>]"
echo "Usage: if{up,down,status}-wireless [<config>] <interface> [-o <options>]"
# Ludwig Nussel 26.02.2004
# Send suggestions and comments to http://www.suse.de/feedback/
BASENAME=${0##*/}
INTERFACE=$1
DEVICE=$2
# because it was changed since the last run
# The environment variable ROOT indicates the root of the system to be
# managed by SuSEconfig when that root is not '/'
##
if test "$UID" != "0" -a "$USER" != root -a -z "$ROOT" ; then
echo "You must be root to start $0." >&2
exit 1
# X-Systemd-RemainAfterExit: true
### END INIT INFO
. /etc/rc.status
rc_reset
-