aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig
diff options
context:
space:
mode:
authorKarsten Hopp <karsten@redhat.com>2001-07-16 13:05:50 +0000
committerKarsten Hopp <karsten@redhat.com>2001-07-16 13:05:50 +0000
commit5c84d335b4ea9fe6ef17c3176a6471ee696de286 (patch)
tree987892c589738fcfdf00fb27f3f7eb6275efcbfc /sysconfig
parentc06640d57ea201350bc844e67fd15373762cbcbe (diff)
downloadinitscripts-5c84d335b4ea9fe6ef17c3176a6471ee696de286.tar
initscripts-5c84d335b4ea9fe6ef17c3176a6471ee696de286.tar.gz
initscripts-5c84d335b4ea9fe6ef17c3176a6471ee696de286.tar.bz2
initscripts-5c84d335b4ea9fe6ef17c3176a6471ee696de286.tar.xz
initscripts-5c84d335b4ea9fe6ef17c3176a6471ee696de286.zip
added a small howto to the head of the S390 files
Diffstat (limited to 'sysconfig')
-rwxr-xr-xsysconfig/network-scripts/ifup-ctc13
-rwxr-xr-xsysconfig/network-scripts/ifup-iucv17
2 files changed, 26 insertions, 4 deletions
diff --git a/sysconfig/network-scripts/ifup-ctc b/sysconfig/network-scripts/ifup-ctc
index fd08919a..2ee706f3 100755
--- a/sysconfig/network-scripts/ifup-ctc
+++ b/sysconfig/network-scripts/ifup-ctc
@@ -1,13 +1,24 @@
#!/bin/sh
+#
+# /etc/sysconfig/network-scripts/ifup-ctc
+#
+# the ctc network driver is a point-to-point driver on S/390 machines
+#
+# To get the ctc module to load automatically at boot, you will need to
+# add the following line to /etc/modules.conf:
+#
+# alias ctc0 ctc
+#
PATH=/sbin:/usr/sbin:/bin:/usr/bin
cd /etc/sysconfig/network-scripts
. network-functions
CONFIG=$1
+[ -f "$CONFIG" ] || CONFIG=ifcfg-$CONFIG
source_config
-if [ "foo$2" = "fooboot" -a "${ONBOOT}" = "no" ]
+if [ "$2" = "boot" -a "${ONBOOT}" = "no" ]
then
exit
fi
diff --git a/sysconfig/network-scripts/ifup-iucv b/sysconfig/network-scripts/ifup-iucv
index fd08919a..e1044ac9 100755
--- a/sysconfig/network-scripts/ifup-iucv
+++ b/sysconfig/network-scripts/ifup-iucv
@@ -1,13 +1,24 @@
#!/bin/sh
+#
+# /etc/sysconfig/network-scripts/ifup-iucv
+#
+# the iucv network driver is a point-to-point driver on S/390 machines
+#
+# To get the iucv module to load automatically at boot, you will need to
+# add the following line to /etc/modules.conf:
+#
+# alias iucv0 netiucv
+#
PATH=/sbin:/usr/sbin:/bin:/usr/bin
-
+
cd /etc/sysconfig/network-scripts
. network-functions
-
+
CONFIG=$1
+[ -f "$CONFIG" ] || CONFIG=ifcfg-$CONFIG
source_config
-if [ "foo$2" = "fooboot" -a "${ONBOOT}" = "no" ]
+if [ "$2" = "boot" -a "${ONBOOT}" = "no" ]
then
exit
fi