]> TLD Linux GIT Repositories - packages/rc-scripts.git/blob - rc-scripts-tld.patch
- merged 0.4.6 from PLD, updated TLD patch
[packages/rc-scripts.git] / rc-scripts-tld.patch
1 diff -ur rc-scripts-0.4.6.orig/doc/net-scripts.txt rc-scripts-0.4.6/doc/net-scripts.txt
2 --- rc-scripts-0.4.6.orig/doc/net-scripts.txt   2011-08-14 19:40:39.000000000 +0000
3 +++ rc-scripts-0.4.6/doc/net-scripts.txt        2013-07-05 16:00:07.672571908 +0000
4 @@ -147,11 +147,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 @@ -188,7 +188,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.6.orig/doc/sysvinitfiles rc-scripts-0.4.6/doc/sysvinitfiles
28 --- rc-scripts-0.4.6.orig/doc/sysvinitfiles     2009-07-25 19:18:23.000000000 +0000
29 +++ rc-scripts-0.4.6/doc/sysvinitfiles  2013-07-05 16:00:15.809511547 +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  $Id: sysvinitfiles 7002 2006-02-23 10:38:31Z glen $
34  ===============================================
35  
36 diff -ur rc-scripts-0.4.6.orig/inittab rc-scripts-0.4.6/inittab
37 --- rc-scripts-0.4.6.orig/inittab       2009-07-25 19:18:26.000000000 +0000
38 +++ rc-scripts-0.4.6/inittab    2013-07-05 15:57:43.348634556 +0000
39 @@ -8,7 +8,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.6.orig/lib/functions rc-scripts-0.4.6/lib/functions
49 --- rc-scripts-0.4.6.orig/lib/functions 2013-04-09 22:07:35.000000000 +0000
50 +++ rc-scripts-0.4.6/lib/functions      2013-07-05 16:02:22.954571716 +0000
51 @@ -6,7 +6,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 @@ -48,7 +48,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 @@ -390,7 +390,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
77  
78 diff -ur rc-scripts-0.4.6.orig/po/de.po rc-scripts-0.4.6/po/de.po
79 --- rc-scripts-0.4.6.orig/po/de.po      2013-05-15 21:04:51.000000000 +0000
80 +++ rc-scripts-0.4.6/po/de.po   2013-07-05 16:00:59.662509781 +0000
81 @@ -447,7 +447,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.6.orig/po/pl.po rc-scripts-0.4.6/po/pl.po
91 --- rc-scripts-0.4.6.orig/po/pl.po      2013-05-15 21:04:51.000000000 +0000
92 +++ rc-scripts-0.4.6/po/pl.po   2013-07-05 16:00:43.505634070 +0000
93 @@ -444,8 +444,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.6.orig/po/rc-scripts.pot rc-scripts-0.4.6/po/rc-scripts.pot
105 --- rc-scripts-0.4.6.orig/po/rc-scripts.pot     2013-05-15 21:08:27.000000000 +0000
106 +++ rc-scripts-0.4.6/po/rc-scripts.pot  2013-07-05 16:01:08.914510770 +0000
107 @@ -456,7 +456,7 @@
108  msgstr ""
109  
110  #: .././rc.d/rc.sysinit:242
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  #: .././rc.d/init.d/netfs:154
116 diff -ur rc-scripts-0.4.6.orig/rc.d/rc.sysinit rc-scripts-0.4.6/rc.d/rc.sysinit
117 --- rc-scripts-0.4.6.orig/rc.d/rc.sysinit       2013-04-03 08:48:26.000000000 +0000
118 +++ rc-scripts-0.4.6/rc.d/rc.sysinit    2013-07-05 16:02:41.163571481 +0000
119 @@ -197,7 +197,7 @@
120                 mount -n -o gid=17 -t selinuxfs selinuxfs /selinux
121         fi
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 @@ -240,7 +240,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.6.orig/src/setuidgid.c rc-scripts-0.4.6/src/setuidgid.c
138 --- rc-scripts-0.4.6.orig/src/setuidgid.c       2011-08-14 19:40:37.000000000 +0000
139 +++ rc-scripts-0.4.6/src/setuidgid.c    2013-07-05 15:57:54.940509815 +0000
140 @@ -47,7 +47,7 @@
141         exit(1);
142  }
143  void show_version() {
144 -       fprintf(stderr, "%s $Rev: 12308 $ (PLD Linux rc-scripts)\n", progname);
145 +       fprintf(stderr, "%s $Rev: 12308 $ (TLD Linux rc-scripts)\n", progname);
146  }
147  void version() {
148         show_version();
149 diff -ur rc-scripts-0.4.6.orig/sysconfig/init-colors rc-scripts-0.4.6/sysconfig/init-colors
150 --- rc-scripts-0.4.6.orig/sysconfig/init-colors 2009-07-25 19:18:26.000000000 +0000
151 +++ rc-scripts-0.4.6/sysconfig/init-colors      2013-07-05 16:02:27.154572333 +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.6.orig/sysconfig/init-colors.gentoo rc-scripts-0.4.6/sysconfig/init-colors.gentoo
167 --- rc-scripts-0.4.6.orig/sysconfig/init-colors.gentoo  2009-07-25 19:18:26.000000000 +0000
168 +++ rc-scripts-0.4.6/sysconfig/init-colors.gentoo       2013-07-05 16:02:31.796572366 +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