View | Details | Raw Unified | Return to bug 739338
Collapse All | Expand All

(-)a/scripts/convert_to_netconfig_dns (+2 lines)
Lines 5-10 Link Here
5
# - 1 on failure
5
# - 1 on failure
6
###
6
###
7
7
8
unset POSIXLY_CORRECT ; set +o posix # we're using non-posix bash features
9
8
test "${DEBUG}" = yes && set -x
10
test "${DEBUG}" = yes && set -x
9
11
10
# helper functions
12
# helper functions
(-)a/scripts/convert_to_netconfig_nis (+2 lines)
Lines 5-10 Link Here
5
# - 1 on failure
5
# - 1 on failure
6
###
6
###
7
7
8
unset POSIXLY_CORRECT ; set +o posix # we're using non-posix bash features
9
8
test "${DEBUG}" = yes && set -x
10
test "${DEBUG}" = yes && set -x
9
11
10
# helper functions
12
# helper functions
(-)a/scripts/functions.rpm-utils (+2 lines)
Lines 1-5 Link Here
1
#!/bin/bash
1
#!/bin/bash
2
2
3
unset POSIXLY_CORRECT ; set +o posix # we're using non-posix bash features
4
3
# similar to remove_and_set rpm suse macro,
5
# similar to remove_and_set rpm suse macro,
4
# but more flexible and able to handle files
6
# but more flexible and able to handle files
5
# in subdirs of the etc/sysconfig directory.
7
# in subdirs of the etc/sysconfig directory.
(-)a/scripts/hwdesc2iface (+2 lines)
Lines 1-5 Link Here
1
#! /bin/bash
1
#! /bin/bash
2
2
3
unset POSIXLY_CORRECT ; set +o posix # we're using non-posix bash features
4
3
usage() {
5
usage() {
4
	echo -e $* >&2
6
	echo -e $* >&2
5
	echo >&2
7
	echo >&2
(-)a/scripts/if-up.ndp-proxy (+2 lines)
Lines 55-60 Link Here
55
#     192.168.100.12            tap2    eth0 tap1
55
#     192.168.100.12            tap2    eth0 tap1
56
#--
56
#--
57
57
58
unset POSIXLY_CORRECT ; set +o posix # we're using non-posix bash features
59
58
usage () {
60
usage () {
59
    echo $@
61
    echo $@
60
    echo "usage: $0 [<config>] <interface> [-o <options>]"
62
    echo "usage: $0 [<config>] <interface> [-o <options>]"
(-)a/scripts/ifdown-connection (+2 lines)
Lines 18-23 Link Here
18
# $Id$
18
# $Id$
19
#
19
#
20
20
21
unset POSIXLY_CORRECT ; set +o posix # we're using non-posix bash features
22
21
# TODO:
23
# TODO:
22
# when closing first use -TERM (except if we just try with -0)
24
# when closing first use -TERM (except if we just try with -0)
23
# for ichecking improve output and remove output from getdests() and nfscheck()
25
# for ichecking improve output and remove output from getdests() and nfscheck()
(-)a/scripts/ifup (+2 lines)
Lines 29-34 Link Here
29
# $Id$
29
# $Id$
30
#
30
#
31
31
32
unset POSIXLY_CORRECT ; set +o posix # we're using non-posix bash features
33
32
usage () {
34
usage () {
33
	echo $@
35
	echo $@
34
	echo "Usage: if{up,down,status} [<config>] <interface> [-o <options>]"
36
	echo "Usage: if{up,down,status} [<config>] <interface> [-o <options>]"
(-)a/scripts/ifup-802.1q (+2 lines)
Lines 7-12 Link Here
7
#         Marius Tomaschewski <mt@suse.de>, 2007-2009
7
#         Marius Tomaschewski <mt@suse.de>, 2007-2009
8
#
8
#
9
9
10
unset POSIXLY_CORRECT ; set +o posix # we're using non-posix bash features
11
10
usage () {
12
usage () {
11
	echo $@
13
	echo $@
12
	echo "Usage: if{up,down}-802.1q [<config>] <interface> [-o <options>]"
14
	echo "Usage: if{up,down}-802.1q [<config>] <interface> [-o <options>]"
(-)a/scripts/ifup-autoip (+2 lines)
Lines 18-23 Link Here
18
# Author: Michael Schroeder <mls@suse.de>, 2004
18
# Author: Michael Schroeder <mls@suse.de>, 2004
19
#
19
#
20
20
21
unset POSIXLY_CORRECT ; set +o posix # we're using non-posix bash features
22
21
usage () {
23
usage () {
22
	echo $@
24
	echo $@
23
	echo "Usage: if{up,down,status}-autoip [<config>] <interface> [-o <options>]"
25
	echo "Usage: if{up,down,status}-autoip [<config>] <interface> [-o <options>]"
(-)a/scripts/ifup-bonding (+2 lines)
Lines 23-28 Link Here
23
# $Id$
23
# $Id$
24
#
24
#
25
25
26
unset POSIXLY_CORRECT ; set +o posix # we're using non-posix bash features
27
26
usage () {
28
usage () {
27
	echo $@
29
	echo $@
28
	echo "Usage: if{up,down,status}-bonding [<config>] <interface> [-o <options>]"
30
	echo "Usage: if{up,down,status}-bonding [<config>] <interface> [-o <options>]"
(-)a/scripts/ifup-bridge (+3 lines)
Lines 12-17 Link Here
12
#
12
#
13
# $Id$
13
# $Id$
14
#
14
#
15
16
unset POSIXLY_CORRECT ; set +o posix # we're using non-posix bash features
17
15
usage () {
18
usage () {
16
	echo $@
19
	echo $@
17
	echo "usage: if{up,down,status}-bridge [<config>] <interface> [-o <options>]"
20
	echo "usage: if{up,down,status}-bridge [<config>] <interface> [-o <options>]"
(-)a/scripts/ifup-dhcp (+2 lines)
Lines 19-24 Link Here
19
#         Peter Poeml <poeml@suse.de>, 2002-2006
19
#         Peter Poeml <poeml@suse.de>, 2002-2006
20
#
20
#
21
21
22
unset POSIXLY_CORRECT ; set +o posix # we're using non-posix bash features
23
22
usage () {
24
usage () {
23
	echo $@
25
	echo $@
24
	echo "Usage: if{up,down,status}-dhcp [<config>] <interface> [-o <options>]"
26
	echo "Usage: if{up,down,status}-dhcp [<config>] <interface> [-o <options>]"
(-)a/scripts/ifup-infiniband (+2 lines)
Lines 23-28 Link Here
23
# $Id$
23
# $Id$
24
#
24
#
25
25
26
unset POSIXLY_CORRECT ; set +o posix # we're using non-posix bash features
27
26
usage () {
28
usage () {
27
	echo $@
29
	echo $@
28
	echo "Usage: if{up,down,status}-infiniband [<config>] <interface> [-o <options>]"
30
	echo "Usage: if{up,down,status}-infiniband [<config>] <interface> [-o <options>]"
(-)a/scripts/ifup-ppp (+2 lines)
Lines 23-28 Link Here
23
# $Id$
23
# $Id$
24
#
24
#
25
25
26
unset POSIXLY_CORRECT ; set +o posix # we're using non-posix bash features
27
26
function usage()
28
function usage()
27
{
29
{
28
	echo $@
30
	echo $@
(-)a/scripts/ifup-route (+2 lines)
Lines 21-26 Link Here
21
# $Id$
21
# $Id$
22
#
22
#
23
23
24
unset POSIXLY_CORRECT ; set +o posix # we're using non-posix bash features
25
24
usage () {
26
usage () {
25
	echo $@
27
	echo $@
26
	echo "Usage: if{up,down,status}-route [<config>] <interface> [-o <options>]"
28
	echo "Usage: if{up,down,status}-route [<config>] <interface> [-o <options>]"
(-)a/scripts/ifup-services (+2 lines)
Lines 22-27 Link Here
22
# $Id$
22
# $Id$
23
#
23
#
24
24
25
unset POSIXLY_CORRECT ; set +o posix # we're using non-posix bash features
26
25
usage () {
27
usage () {
26
	echo $@
28
	echo $@
27
	echo "Usage: if{up,down,status}-services [<config>] <interface> [-o <options>]"
29
	echo "Usage: if{up,down,status}-services [<config>] <interface> [-o <options>]"
(-)a/scripts/ifup-skel (+2 lines)
Lines 25-30 Link Here
25
# $Id$
25
# $Id$
26
#
26
#
27
27
28
unset POSIXLY_CORRECT ; set +o posix # we're using non-posix bash features
29
28
usage () {
30
usage () {
29
	echo $@
31
	echo $@
30
	echo ""
32
	echo ""
(-)a/scripts/ifup-sysctl (+3 lines)
Lines 20-25 Link Here
20
# Author: 
20
# Author: 
21
#    Marius Tomaschewski <mt@suse.de>
21
#    Marius Tomaschewski <mt@suse.de>
22
#
22
#
23
24
unset POSIXLY_CORRECT ; set +o posix # we're using non-posix bash features
25
23
usage () {
26
usage () {
24
	echo $@
27
	echo $@
25
	echo "usage: if{up,down,status}-sysctl [<config>] <interface> [-o <options>]"
28
	echo "usage: if{up,down,status}-sysctl [<config>] <interface> [-o <options>]"
(-)a/scripts/ifup-tunnel (+2 lines)
Lines 25-30 Link Here
25
# $Id$
25
# $Id$
26
#
26
#
27
27
28
unset POSIXLY_CORRECT ; set +o posix # we're using non-posix bash features
29
28
usage () {
30
usage () {
29
	echo $@
31
	echo $@
30
	echo "Usage: if{up,down,status}-tunnel [<config>] <interface> [-o <options>]"
32
	echo "Usage: if{up,down,status}-tunnel [<config>] <interface> [-o <options>]"
(-)a/scripts/ifup-wireless (+2 lines)
Lines 22-27 Link Here
22
# $Id$
22
# $Id$
23
#
23
#
24
24
25
unset POSIXLY_CORRECT ; set +o posix # we're using non-posix bash features
26
25
usage () {
27
usage () {
26
        echo $@
28
        echo $@
27
        echo "Usage: if{up,down,status}-wireless [<config>] <interface> [-o <options>]"
29
        echo "Usage: if{up,down,status}-wireless [<config>] <interface> [-o <options>]"
(-)a/scripts/ip-up (+2 lines)
Lines 9-14 Link Here
9
# Ludwig Nussel 26.02.2004
9
# Ludwig Nussel 26.02.2004
10
# Send suggestions and comments to http://www.suse.de/feedback/
10
# Send suggestions and comments to http://www.suse.de/feedback/
11
11
12
unset POSIXLY_CORRECT ; set +o posix # we're using non-posix bash features
13
12
BASENAME=${0##*/}
14
BASENAME=${0##*/}
13
INTERFACE=$1
15
INTERFACE=$1
14
DEVICE=$2
16
DEVICE=$2
(-)a/scripts/netconfig (+1 lines)
Lines 28-33 Link Here
28
#    because it was changed since the last run
28
#    because it was changed since the last run
29
#
29
#
30
30
31
unset POSIXLY_CORRECT ; set +o posix # we're using non-posix bash features
31
32
32
# The environment variable ROOT indicates the root of the system to be
33
# The environment variable ROOT indicates the root of the system to be
33
# managed by SuSEconfig when that root is not '/'
34
# managed by SuSEconfig when that root is not '/'
(-)a/scripts/netconfig.d/dns-bind (+2 lines)
Lines 21-26 Link Here
21
#
21
#
22
##
22
##
23
23
24
unset POSIXLY_CORRECT ; set +o posix # we're using non-posix bash features
25
24
if test "$UID" != "0" -a "$USER" != root -a -z "$ROOT" ; then
26
if test "$UID" != "0" -a "$USER" != root -a -z "$ROOT" ; then
25
    echo "You must be root to start $0." >&2
27
    echo "You must be root to start $0." >&2
26
    exit 1
28
    exit 1
(-)a/scripts/netconfig.d/dns-dnsmasq (+2 lines)
Lines 21-26 Link Here
21
#
21
#
22
##
22
##
23
23
24
unset POSIXLY_CORRECT ; set +o posix # we're using non-posix bash features
25
24
if test "$UID" != "0" -a "$USER" != root -a -z "$ROOT" ; then
26
if test "$UID" != "0" -a "$USER" != root -a -z "$ROOT" ; then
25
    echo "You must be root to start $0." >&2
27
    echo "You must be root to start $0." >&2
26
    exit 1
28
    exit 1
(-)a/scripts/netconfig.d/dns-resolver (+2 lines)
Lines 20-25 Link Here
20
#
20
#
21
##
21
##
22
22
23
unset POSIXLY_CORRECT ; set +o posix # we're using non-posix bash features
24
23
if test "$UID" != "0" -a "$USER" != root -a -z "$ROOT" ; then
25
if test "$UID" != "0" -a "$USER" != root -a -z "$ROOT" ; then
24
    echo "You must be root to start $0." >&2
26
    echo "You must be root to start $0." >&2
25
    exit 1
27
    exit 1
(-)a/scripts/netconfig.d/nis (+2 lines)
Lines 20-25 Link Here
20
#
20
#
21
##
21
##
22
22
23
unset POSIXLY_CORRECT ; set +o posix # we're using non-posix bash features
24
23
if test "$UID" != "0" -a "$USER" != root -a -z "$ROOT" ; then
25
if test "$UID" != "0" -a "$USER" != root -a -z "$ROOT" ; then
24
    echo "You must be root to start $0." >&2
26
    echo "You must be root to start $0." >&2
25
    exit 1
27
    exit 1
(-)a/scripts/netconfig.d/ntp-runtime (+2 lines)
Lines 20-25 Link Here
20
#
20
#
21
##
21
##
22
22
23
unset POSIXLY_CORRECT ; set +o posix # we're using non-posix bash features
24
23
if test "$UID" != "0" -a "$USER" != root -a -z "$ROOT" ; then
25
if test "$UID" != "0" -a "$USER" != root -a -z "$ROOT" ; then
24
    echo "You must be root to start $0." >&2
26
    echo "You must be root to start $0." >&2
25
    exit 1
27
    exit 1
(-)a/scripts/network (+2 lines)
Lines 42-47 Link Here
42
# X-Systemd-RemainAfterExit: true
42
# X-Systemd-RemainAfterExit: true
43
### END INIT INFO
43
### END INIT INFO
44
44
45
unset POSIXLY_CORRECT ; set +o posix # we're using non-posix bash features
46
45
. /etc/rc.status
47
. /etc/rc.status
46
rc_reset
48
rc_reset
47
49
(-)a/scripts/network-remotefs (-1 / +2 lines)
Lines 39-44 Link Here
39
# X-Systemd-RemainAfterExit: true
39
# X-Systemd-RemainAfterExit: true
40
### END INIT INFO
40
### END INIT INFO
41
41
42
unset POSIXLY_CORRECT ; set +o posix # we're using non-posix bash features
43
42
. /etc/rc.status
44
. /etc/rc.status
43
rc_reset
45
rc_reset
44
46
45
- 

Return to bug 739338