diff options
author | hansp <hansp> | 2001-02-09 20:47:45 +0000 |
---|---|---|
committer | hansp <hansp> | 2001-02-09 20:47:45 +0000 |
commit | 4ff4a7d120c6e44e5fe2a4badd3730e2c3f95c37 (patch) | |
tree | fcde596c5dbc2ea5bbc4c0fe58805bd0a7ce101f | |
parent | 1aa3c293170801cb47e54cf664a4bbcf34703045 (diff) |
* *.in: indent-tabs-mode should be nil, not f.
-rw-r--r-- | be.pl.in | 2 | ||||
-rw-r--r-- | boot-conf.in | 2 | ||||
-rw-r--r-- | boot.pl.in | 2 | ||||
-rwxr-xr-x | disks-conf.in | 2 | ||||
-rw-r--r-- | file.pl.in | 2 | ||||
-rw-r--r-- | general.pl.in | 2 | ||||
-rwxr-xr-x | hardware-conf.in | 2 | ||||
-rw-r--r-- | media.pl.in | 2 | ||||
-rwxr-xr-x | memory-conf.in | 2 | ||||
-rwxr-xr-x | nameresolution-conf.in | 2 | ||||
-rwxr-xr-x | network-conf.in | 2 | ||||
-rw-r--r-- | network.pl.in | 77 | ||||
-rwxr-xr-x | networking-conf.in | 2 | ||||
-rw-r--r-- | parse.pl.in | 2 | ||||
-rw-r--r-- | platform.pl.in | 2 | ||||
-rw-r--r-- | removable-media.pl.in | 2 | ||||
-rw-r--r-- | replace.pl.in | 2 | ||||
-rw-r--r-- | report.pl.in | 2 | ||||
-rw-r--r-- | service.pl.in | 2 | ||||
-rwxr-xr-x | shares-conf.in | 2 | ||||
-rwxr-xr-x | time-conf.in | 2 | ||||
-rw-r--r-- | users-conf.in | 2 | ||||
-rw-r--r-- | util.pl.in | 2 | ||||
-rw-r--r-- | xml.pl.in | 2 |
24 files changed, 62 insertions, 61 deletions
@@ -1,5 +1,5 @@ #!/usr/bin/env perl -#-*- Mode: perl; tab-width: 2; indent-tabs-mode: f; c-basic-offset: 2 -*- +#-*- Mode: perl; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- # Common stuff for the ximian-setup-tools backends. # diff --git a/boot-conf.in b/boot-conf.in index fecb226..1669620 100644 --- a/boot-conf.in +++ b/boot-conf.in @@ -1,5 +1,5 @@ #!/usr/bin/env perl -#-*- Mode: perl; tab-width: 2; indent-tabs-mode: f; c-basic-offset: 2 -*- +#-*- Mode: perl; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- # Boot manager configurator. Designed to be architecture and distribution independent. # @@ -1,5 +1,5 @@ #!/usr/bin/env perl -#-*- Mode: perl; tab-width: 2; indent-tabs-mode: f; c-basic-offset: 2 -*- +#-*- Mode: perl; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- # Boot manager configurator. Designed to be architecture and distribution independent. # diff --git a/disks-conf.in b/disks-conf.in index c8b839c..f0b379e 100755 --- a/disks-conf.in +++ b/disks-conf.in @@ -1,5 +1,5 @@ #!/usr/bin/env perl -#-*- Mode: perl; tab-width: 2; indent-tabs-mode: f; c-basic-offset: 2 -*- +#-*- Mode: perl; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- # Simple fixed media configurator. Designed to be architecture- and distribution independent. # @@ -1,5 +1,5 @@ #!/usr/bin/env perl -#-*- Mode: perl; tab-width: 2; indent-tabs-mode: f; c-basic-offset: 2 -*- +#-*- Mode: perl; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- # Functions for file manipulation. Find, open, read, write, backup, etc. # diff --git a/general.pl.in b/general.pl.in index 5e0088c..dab81cb 100644 --- a/general.pl.in +++ b/general.pl.in @@ -1,5 +1,5 @@ #!/usr/bin/env perl -#-*- Mode: perl; tab-width: 2; indent-tabs-mode: f; c-basic-offset: 2 -*- +#-*- Mode: perl; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- # Common stuff for the ximian-setup-tools backends. # diff --git a/hardware-conf.in b/hardware-conf.in index 99c4f6e..510bdcd 100755 --- a/hardware-conf.in +++ b/hardware-conf.in @@ -1,5 +1,5 @@ #!/usr/bin/env perl -#-*- Mode: perl; tab-width: 2; indent-tabs-mode: f; c-basic-offset: 2 -*- +#-*- Mode: perl; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- # Hardware configurator. # Designed to be architecture- and distribution independent. diff --git a/media.pl.in b/media.pl.in index 75da4ea..c838754 100644 --- a/media.pl.in +++ b/media.pl.in @@ -1,5 +1,5 @@ #!/usr/bin/env perl -#-*- Mode: perl; tab-width: 2; indent-tabs-mode: f; c-basic-offset: 2 -*- +#-*- Mode: perl; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- # Detect, list and manipulate local media devices. # diff --git a/memory-conf.in b/memory-conf.in index 54b8441..c32562b 100755 --- a/memory-conf.in +++ b/memory-conf.in @@ -1,5 +1,5 @@ #!/usr/bin/env perl -#-*- Mode: perl; tab-width: 2; indent-tabs-mode: f; c-basic-offset: 2 -*- +#-*- Mode: perl; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- # Memory configurator. # Designed to be architecture- and distribution independent. diff --git a/nameresolution-conf.in b/nameresolution-conf.in index 4488aa2..9abcdbe 100755 --- a/nameresolution-conf.in +++ b/nameresolution-conf.in @@ -1,5 +1,5 @@ #!/usr/bin/env perl -#-*- Mode: perl; tab-width: 2; indent-tabs-mode: f; c-basic-offset: 2 -*- +#-*- Mode: perl; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- # Name resolution configurator. Designed to be architecture- and distribution independent. # diff --git a/network-conf.in b/network-conf.in index eb1b9bb..88f3fba 100755 --- a/network-conf.in +++ b/network-conf.in @@ -1,5 +1,5 @@ #!/usr/bin/env perl -#-*- Mode: perl; tab-width: 2; indent-tabs-mode: f; c-basic-offset: 2 -*- +#-*- Mode: perl; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- # Network configurator. Designed to be architecture and distribution independent. # diff --git a/network.pl.in b/network.pl.in index e90db39..d059d58 100644 --- a/network.pl.in +++ b/network.pl.in @@ -1,5 +1,5 @@ #!/usr/bin/env perl -#-*- Mode: perl; tab-width: 2; indent-tabs-mode: f; c-basic-offset: 2 -*- +#-*- Mode: perl; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- # Common stuff for the ximian-setup-tools backends. # @@ -453,45 +453,46 @@ sub xst_network_get_interface_replace_table ); my %dist_tables = - ( - "redhat-6.2" => + ( + "redhat-6.2" => { - iface_set => \&xst_network_rh62_interface_set, - fn => + iface_set => \&xst_network_rh62_interface_set, + fn => { - IFCFG => "/etc/sysconfig/network-scripts/ifcfg-#iface#", - CHAT => "/etc/sysconfig/network-scripts/chat-#iface#" , - IFACE => "#iface#" }, - table => - [ - [ dev, \&xst_replace_sh, IFCFG, DEVICE ], - [ address, \&xst_replace_sh, IFCFG, IPADDR ], - [ netmask, \&xst_replace_sh, IFCFG, NETMASK ], - [ broadcast, \&xst_replace_sh, IFCFG, BROADCAST ], - [ network, \&xst_replace_sh, IFCFG, NETWORK ], - [ bootproto, \&xst_network_rh62_replace_bootproto, IFCFG, BOOTPROTO ], - [ mtu, \&xst_replace_sh, IFCFG, MTU ], - [ mru, \&xst_replace_sh, IFCFG, MRU ], - [ remote_address, \&xst_replace_sh, IFCFG, REMIP ], - [ login, \&xst_replace_sh, IFCFG, PAPNAME ], - [ disconnect_timeout, \&xst_replace_sh, IFCFG, DISCONNECTTIMEOUT ], - [ retry_timeout, \&xst_replace_sh, IFCFG, RETRYTIMEOUT ], - [ serial_port, \&xst_replace_sh, IFCFG, MODEMPORT ], - [ serial_speed, \&xst_replace_sh, IFCFG, LINESPEED ], - [ serial_init, \&xst_replace_sh, IFCFG, INITSTRING ], - [ ppp_options, \&xst_replace_sh, IFCFG, PPPOPTIONS ], - [ auto, \&xst_replace_sh_bool, IFCFG, ONBOOT ], - [ user, \&xst_replace_sh_bool, IFCFG, USERCTL ], - [ set_default_gw, \&xst_replace_sh_bool, IFCFG, DEFROUTE ], - [ debug, \&xst_replace_sh_bool, IFCFG, DEBUG ], - [ persist, \&xst_replace_sh_bool, IFCFG, PERSIST ], - [ serial_escapechars, \&xst_replace_sh_bool, IFCFG, ESCAPECHARS ], - [ serial_defabort, \&xst_replace_sh_bool, IFCFG, DEFABORT ], - [ serial_hwctl, \&xst_replace_sh_bool, IFCFG, HARDFLOWCTL ], - [ phone_number, \&xst_replace_chat, CHAT, "^atd[^0-9]*([0-9, -]+)" ] - ] - } - ); + IFCFG => "/etc/sysconfig/network-scripts/ifcfg-#iface#", + CHAT => "/etc/sysconfig/network-scripts/chat-#iface#" , + IFACE => "#iface#" + }, + table => + [ + [ dev, \&xst_replace_sh, IFCFG, DEVICE ], + [ address, \&xst_replace_sh, IFCFG, IPADDR ], + [ netmask, \&xst_replace_sh, IFCFG, NETMASK ], + [ broadcast, \&xst_replace_sh, IFCFG, BROADCAST ], + [ network, \&xst_replace_sh, IFCFG, NETWORK ], + [ bootproto, \&xst_network_rh62_replace_bootproto, IFCFG, BOOTPROTO ], + [ mtu, \&xst_replace_sh, IFCFG, MTU ], + [ mru, \&xst_replace_sh, IFCFG, MRU ], + [ remote_address, \&xst_replace_sh, IFCFG, REMIP ], + [ login, \&xst_replace_sh, IFCFG, PAPNAME ], + [ disconnect_timeout, \&xst_replace_sh, IFCFG, DISCONNECTTIMEOUT ], + [ retry_timeout, \&xst_replace_sh, IFCFG, RETRYTIMEOUT ], + [ serial_port, \&xst_replace_sh, IFCFG, MODEMPORT ], + [ serial_speed, \&xst_replace_sh, IFCFG, LINESPEED ], + [ serial_init, \&xst_replace_sh, IFCFG, INITSTRING ], + [ ppp_options, \&xst_replace_sh, IFCFG, PPPOPTIONS ], + [ auto, \&xst_replace_sh_bool, IFCFG, ONBOOT ], + [ user, \&xst_replace_sh_bool, IFCFG, USERCTL ], + [ set_default_gw, \&xst_replace_sh_bool, IFCFG, DEFROUTE ], + [ debug, \&xst_replace_sh_bool, IFCFG, DEBUG ], + [ persist, \&xst_replace_sh_bool, IFCFG, PERSIST ], + [ serial_escapechars, \&xst_replace_sh_bool, IFCFG, ESCAPECHARS ], + [ serial_defabort, \&xst_replace_sh_bool, IFCFG, DEFABORT ], + [ serial_hwctl, \&xst_replace_sh_bool, IFCFG, HARDFLOWCTL ], + [ phone_number, \&xst_replace_chat, CHAT, "^atd[^0-9]*([0-9, -]+)" ] + ] + } + ); my $dist = $dist_map{$be_dist}; return %{$dist_tables{$dist}} if $dist; diff --git a/networking-conf.in b/networking-conf.in index d43c514..743d0ce 100755 --- a/networking-conf.in +++ b/networking-conf.in @@ -1,5 +1,5 @@ #!/usr/bin/env perl -#-*- Mode: perl; tab-width: 2; indent-tabs-mode: f; c-basic-offset: 2 -*- +#-*- Mode: perl; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- # Simple networking configurator. Designed to be architecture- and distribution independent. # diff --git a/parse.pl.in b/parse.pl.in index 2eb7052..16e40f1 100644 --- a/parse.pl.in +++ b/parse.pl.in @@ -1,5 +1,5 @@ #!/usr/bin/env perl -#-*- Mode: perl; tab-width: 2; indent-tabs-mode: f; c-basic-offset: 2 -*- +#-*- Mode: perl; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- # parse.pl: Common parsing stuff for the ximian-setup-tools backends. # diff --git a/platform.pl.in b/platform.pl.in index eb451b9..b0cf932 100644 --- a/platform.pl.in +++ b/platform.pl.in @@ -1,5 +1,5 @@ #!/usr/bin/env perl -#-*- Mode: perl; tab-width: 2; indent-tabs-mode: f; c-basic-offset: 2 -*- +#-*- Mode: perl; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- # Determine the platform we're running on. # diff --git a/removable-media.pl.in b/removable-media.pl.in index 6804ecf..bc0b44d 100644 --- a/removable-media.pl.in +++ b/removable-media.pl.in @@ -1,5 +1,5 @@ #!/usr/bin/env perl -#-*- Mode: perl; tab-width: 2; indent-tabs-mode: f; c-basic-offset: 2 -*- +#-*- Mode: perl; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- # Detect, print and manipulate local removable media devices. # diff --git a/replace.pl.in b/replace.pl.in index 07fd422..1adca7e 100644 --- a/replace.pl.in +++ b/replace.pl.in @@ -1,5 +1,5 @@ #!/usr/bin/env perl -#-*- Mode: perl; tab-width: 2; indent-tabs-mode: f; c-basic-offset: 2 -*- +#-*- Mode: perl; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- # replace.pl: Common in-line replacing stuff for the ximian-setup-tools backends. # diff --git a/report.pl.in b/report.pl.in index a2f65a3..d24ef7f 100644 --- a/report.pl.in +++ b/report.pl.in @@ -1,5 +1,5 @@ #!/usr/bin/env perl -#-*- Mode: perl; tab-width: 2; indent-tabs-mode: f; c-basic-offset: 2 -*- +#-*- Mode: perl; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- # Functions for on-the-fly commentary on a tool's work. # diff --git a/service.pl.in b/service.pl.in index ec31b30..6d4422b 100644 --- a/service.pl.in +++ b/service.pl.in @@ -1,5 +1,5 @@ #!/usr/bin/env perl -#-*- Mode: perl; tab-width: 2; indent-tabs-mode: f; c-basic-offset: 2 -*- +#-*- Mode: perl; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- # Functions for manipulating system services, like daemons and network. # diff --git a/shares-conf.in b/shares-conf.in index d93cd97..2a22314 100755 --- a/shares-conf.in +++ b/shares-conf.in @@ -1,5 +1,5 @@ #!/usr/bin/env perl -#-*- Mode: perl; tab-width: 2; indent-tabs-mode: f; c-basic-offset: 2 -*- +#-*- Mode: perl; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- # Simple shares configurator. Designed to be architecture- and distribution independent. # diff --git a/time-conf.in b/time-conf.in index 9dcb7dc..8cbd4ae 100755 --- a/time-conf.in +++ b/time-conf.in @@ -1,5 +1,5 @@ #!/usr/bin/env perl -#-*- Mode: perl; tab-width: 2; indent-tabs-mode: f; c-basic-offset: 2 -*- +#-*- Mode: perl; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- # Time configurator. Designed to be architecture- and distribution independent. # diff --git a/users-conf.in b/users-conf.in index b696815..3c92abc 100644 --- a/users-conf.in +++ b/users-conf.in @@ -1,5 +1,5 @@ #!/usr/bin/env perl -#-*- Mode: perl; tab-width: 2; indent-tabs-mode: f; c-basic-offset: 2 -*- +#-*- Mode: perl; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- # Users account mannager. Designed to be architecture and distribution independent. # @@ -1,5 +1,5 @@ #!/usr/bin/env perl -#-*- Mode: perl; tab-width: 2; indent-tabs-mode: f; c-basic-offset: 2 -*- +#-*- Mode: perl; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- # Utility functions. # @@ -1,5 +1,5 @@ #!/usr/bin/env perl -#-*- Mode: perl; tab-width: 2; indent-tabs-mode: f; c-basic-offset: 2 -*- +#-*- Mode: perl; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- # XML printing, scanning and parsing. # |