]> TLD Linux GIT Repositories - packages/rc-scripts.git/blob - rc-scripts-tld.patch
- updated to 0.4.12
[packages/rc-scripts.git] / rc-scripts-tld.patch
1 diff -ur rc-scripts-0.4.12.orig/doc/net-scripts.txt rc-scripts-0.4.12/doc/net-scripts.txt
2 --- rc-scripts-0.4.12.orig/doc/net-scripts.txt  2014-06-10 06:55:19.000000000 +0000
3 +++ rc-scripts-0.4.12/doc/net-scripts.txt       2014-07-12 11:41:36.258000000 +0000
4 @@ -145,11 +145,11 @@
5      INITSCRIPT=<modem command>
6        string which initialises your modem. Usualy something like 
7        AT&F0&C1&D2
8 -      (PLD Linux rc-scripts specific option)
9 +      (TLD Linux rc-scripts specific option)
10      DATAFORCHAT=<list of variables>
11        List of variables which should be exported to chat script.
12        Used mostly for passing USERNAME and PASSWORD into it. (see below)
13 -      (PLD Linux rc-scripts specific option)
14 +      (TLD Linux rc-scripts specific option)
15      PEERDNS=yes|no
16      IPV6_PPP=yes|no
17        use IPv6 for ppp
18 @@ -186,7 +186,7 @@
19    the connection.  For SLIP devices, a DIP script is written
20    from the chat script; for PPP devices, the chat script is used
21    directly.
22 -  In PLD Linux version of rc-scripts, this file is parsed by shell
23 +  In TLD Linux version of rc-scripts, this file is parsed by shell
24    (actually by grep in firstplace to get rid of comments) before it
25    is passed to chat.
26    This allows you to substitute shell variables with their values 
27 diff -ur rc-scripts-0.4.12.orig/doc/sysvinitfiles rc-scripts-0.4.12/doc/sysvinitfiles
28 --- rc-scripts-0.4.12.orig/doc/sysvinitfiles    2014-06-10 06:55:19.000000000 +0000
29 +++ rc-scripts-0.4.12/doc/sysvinitfiles 2014-07-12 11:41:36.259000000 +0000
30 @@ -1,4 +1,4 @@
31 -Writing System V init scripts for PLD Linux
32 +Writing System V init scripts for TLD Linux
33  ===============================================
34  
35  All System V init scripts are named /etc/rc.d/init.d/<servicename>
36 diff -ur rc-scripts-0.4.12.orig/inittab rc-scripts-0.4.12/inittab
37 --- rc-scripts-0.4.12.orig/inittab      2014-06-10 06:55:19.000000000 +0000
38 +++ rc-scripts-0.4.12/inittab   2014-07-12 11:41:36.259000000 +0000
39 @@ -7,7 +7,7 @@
40  #              Modified for RHS Linux by Marc Ewing and Donnie Barnes
41  #
42  
43 -# Default runlevel. The runlevels used by PLD Linux are:
44 +# Default runlevel. The runlevels used by TLD Linux are:
45  #   0 - halt (Do NOT set initdefault to this)
46  #   1 - Single user mode
47  #   2 - Multiuser, without NFS (The same as 3, if you do not have networking)
48 diff -ur rc-scripts-0.4.12.orig/lib/functions rc-scripts-0.4.12/lib/functions
49 --- rc-scripts-0.4.12.orig/lib/functions        2014-06-19 19:51:23.000000000 +0000
50 +++ rc-scripts-0.4.12/lib/functions     2014-07-12 11:41:36.260000000 +0000
51 @@ -5,7 +5,7 @@
52  #
53  # Author:      Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org>
54  # Hacked by:   Greg Galloway and Marc Ewing
55 -# Modified for PLD Linux by:
56 +# Modified for TLD Linux by:
57  #              Marek Obuchowicz <elephant@pld-linux.org>
58  #              Arkadiusz Miśkiewicz <misiek@pld-linux.org>
59  #              Michał Kochanowicz <mkochano@pld-linux.org>
60 @@ -47,7 +47,7 @@
61  CBUSY="$MAGENTA"       # BUSY color
62  CFAIL="$RED"           # FAIL and DIED color
63  CPOWEREDBY="$CYAN"     # "Powered by" color
64 -CPLD="$GREEN"          # "PLD Linux Distribution" color
65 +CTLD="$GREEN"          # "TLD Linux" color
66  CI="$RED"              # Capital I color (press I to enter interactive startup)
67  CRESMAN="$GREEN"       # "Resource Manager" color
68  CHARS=""               # Characters displayed on the beginning of show line
69 @@ -422,7 +422,7 @@
70         nls "Usage: %s" "$*"
71  }
72  
73 -# Some functions to handle PLD Linux-style messages
74 +# Some functions to handle TLD Linux-style messages
75  show() {
76         local text len time
77  
78 diff -ur rc-scripts-0.4.12.orig/po/de.po rc-scripts-0.4.12/po/de.po
79 --- rc-scripts-0.4.12.orig/po/de.po     2014-06-10 06:55:19.000000000 +0000
80 +++ rc-scripts-0.4.12/po/de.po  2014-07-12 11:41:36.260000000 +0000
81 @@ -446,7 +446,7 @@
82  msgstr ""
83  
84  #: .././rc.d/rc.sysinit:231
85 -msgid "\t\t\t%sPowered by %sPLD Linux Distribution%s"
86 +msgid "\t\t\t%sPowered by %sTLD Linux%s"
87  msgstr ""
88  
89  #: .././rc.d/init.d/netfs:154
90 diff -ur rc-scripts-0.4.12.orig/po/pl.po rc-scripts-0.4.12/po/pl.po
91 --- rc-scripts-0.4.12.orig/po/pl.po     2014-06-10 06:55:19.000000000 +0000
92 +++ rc-scripts-0.4.12/po/pl.po  2014-07-12 11:41:36.274000000 +0000
93 @@ -443,8 +443,8 @@
94  msgstr " w cpusecie %s..."
95  
96  #: .././rc.d/rc.sysinit:231
97 -msgid "\t\t\t%sPowered by %sPLD Linux Distribution%s"
98 -msgstr "\t\t\t%sNapędzane przez %sPLD Linux Distribution%s"
99 +msgid "\t\t\t%sPowered by %sTLD Linux%s"
100 +msgstr "\t\t\t%sNapędzane przez %sTLD Linux%s"
101  
102  #: .././rc.d/init.d/netfs:154
103  msgid "Active NFS mountpoints: "
104 diff -ur rc-scripts-0.4.12.orig/po/rc-scripts.pot rc-scripts-0.4.12/po/rc-scripts.pot
105 --- rc-scripts-0.4.12.orig/po/rc-scripts.pot    2014-07-07 15:31:27.000000000 +0000
106 +++ rc-scripts-0.4.12/po/rc-scripts.pot 2014-07-12 11:42:40.411000000 +0000
107 @@ -172,7 +172,7 @@
108  msgstr ""
109  
110  #: .././rc.d/rc.sysinit:462
111 -msgid "\t\t\t%sPowered by %sPLD Linux Distribution%s"
112 +msgid "\t\t\t%sPowered by %sTLD Linux%s"
113  msgstr ""
114  
115  #: .././lib/ifdown-vlan:45
116 diff -ur rc-scripts-0.4.12.orig/rc.d/rc.sysinit rc-scripts-0.4.12/rc.d/rc.sysinit
117 --- rc-scripts-0.4.12.orig/rc.d/rc.sysinit      2014-06-19 20:04:44.000000000 +0000
118 +++ rc-scripts-0.4.12/rc.d/rc.sysinit   2014-07-12 11:41:36.275000000 +0000
119 @@ -429,7 +429,7 @@
120  
121         init_selinux
122  
123 -       # PLD Linux LiveCD support
124 +       # TLD Linux LiveCD support
125         if [ -x /etc/rc.d/rc.live ]; then
126                 /etc/rc.d/rc.live
127         fi
128 @@ -460,7 +460,7 @@
129  
130  
131  # Print welcome message
132 -nls "\t\t\t%sPowered by %sPLD Linux Distribution%s" "$(termput setaf $CPOWEREDBY)" "$(termput setaf $CPLD)" "$(termput op)"
133 +nls "\t\t\t%sPowered by %sTLD Linux%s" "$(termput setaf $CPOWEREDBY)" "$(termput setaf $CTLD)" "$(termput op)"
134  if ! is_no "$RC_PROMPT"; then
135         nls -n "\t\t  Press %sI%s to enter interactive startup" "$(termput setaf $CI)" "$(termput op)"
136         echo
137 diff -ur rc-scripts-0.4.12.orig/src/setuidgid.c rc-scripts-0.4.12/src/setuidgid.c
138 --- rc-scripts-0.4.12.orig/src/setuidgid.c      2013-11-02 20:50:20.000000000 +0000
139 +++ rc-scripts-0.4.12/src/setuidgid.c   2014-07-12 11:41:36.275000000 +0000
140 @@ -47,7 +47,7 @@
141         exit(1);
142  }
143  void show_version() {
144 -       fprintf(stderr, "%s $Rev$ (PLD Linux rc-scripts)\n", progname);
145 +       fprintf(stderr, "%s $Rev$ (TLD Linux rc-scripts)\n", progname);
146  }
147  void version() {
148         show_version();
149 diff -ur rc-scripts-0.4.12.orig/sysconfig/init-colors rc-scripts-0.4.12/sysconfig/init-colors
150 --- rc-scripts-0.4.12.orig/sysconfig/init-colors        2013-11-02 20:50:20.000000000 +0000
151 +++ rc-scripts-0.4.12/sysconfig/init-colors     2014-07-12 11:41:36.276000000 +0000
152 @@ -1,11 +1,11 @@
153 -# Default PLD Linux colors.
154 +# Default TLD Linux colors.
155  
156  CBRACKETS="$CYAN"      # brackets [ ] color
157  CDONE="$GREEN"         # DONE and WORK color
158  CBUSY="$MAGENTA"       # BUSY color
159  CFAIL="$RED"           # FAIL and DIED color
160  CPOWEREDBY="$CYAN"     # "Powered by" color
161 -CPLD="$GREEN"          # "PLD Linux Distribution" color
162 +CTLD="$GREEN"          # "TLD Linux" color
163  CI="$RED"              # Capital I color (press I to enter interactive startup)
164  CRESMAN="$GREEN"       # "Resource Manager" color
165  CHARS=""               # Characters displayed on the beginning of show line
166 diff -ur rc-scripts-0.4.12.orig/sysconfig/init-colors.gentoo rc-scripts-0.4.12/sysconfig/init-colors.gentoo
167 --- rc-scripts-0.4.12.orig/sysconfig/init-colors.gentoo 2013-11-02 20:50:20.000000000 +0000
168 +++ rc-scripts-0.4.12/sysconfig/init-colors.gentoo      2014-07-12 11:41:36.276000000 +0000
169 @@ -5,7 +5,7 @@
170  CBUSY="$MAGENTA $BOLD"         # BUSY color
171  CFAIL="$RED $BOLD"             # FAIL and DIED color
172  CPOWEREDBY="$BLUE $BOLD"       # "Powered by" color
173 -CPLD="$GREEN $BOLD"            # "PLD Linux Distribution" color
174 +CTLD="$GREEN $BOLD"            # "TLD Linux" color
175  CI="$RED $BOLD"                        # Capital I color (press I to enter interactive startup)
176  CRESMAN="$GREEN $BOLD"         # "Resource Manager" color
177  CHARS=" * "                    # Characters displayed on the beginning of show line
178 diff -ur rc-scripts-0.4.12.orig/sysconfig/network rc-scripts-0.4.12/sysconfig/network
179 --- rc-scripts-0.4.12.orig/sysconfig/network    2014-06-10 06:55:19.000000000 +0000
180 +++ rc-scripts-0.4.12/sysconfig/network 2014-07-12 11:41:36.276000000 +0000
181 @@ -11,7 +11,7 @@
182  # then set it in /etc/sysctl.conf
183  
184  # Set hostname here
185 -HOSTNAME=pldmachine
186 +HOSTNAME=tldlinux
187  
188  # Allow udev to create /etc/sysconfig/interfaces/ifcfg-* automatically?
189  # See /lib/udev/net_helper for details.