]> TLD Linux GIT Repositories - packages/rc-scripts.git/blob - rc-scripts-tld.patch
- updated for 0.4.13
[packages/rc-scripts.git] / rc-scripts-tld.patch
1 diff -urNp rc-scripts-0.4.13.orig/doc/net-scripts.txt rc-scripts-0.4.13/doc/net-scripts.txt
2 --- rc-scripts-0.4.13.orig/doc/net-scripts.txt  2014-06-10 06:55:19.000000000 +0000
3 +++ rc-scripts-0.4.13/doc/net-scripts.txt       2015-02-06 13:30:49.145314244 +0000
4 @@ -145,11 +145,11 @@ Files in /etc/sysconfig/interfaces/
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 @@ Files in /etc/sysconfig/interfaces/
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 -urNp rc-scripts-0.4.13.orig/doc/sysvinitfiles rc-scripts-0.4.13/doc/sysvinitfiles
28 --- rc-scripts-0.4.13.orig/doc/sysvinitfiles    2014-06-10 06:55:19.000000000 +0000
29 +++ rc-scripts-0.4.13/doc/sysvinitfiles 2015-02-06 13:30:49.145314244 +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 -urNp rc-scripts-0.4.13.orig/hwprofile rc-scripts-0.4.13/hwprofile
37 --- rc-scripts-0.4.13.orig/hwprofile    2014-06-10 06:55:19.000000000 +0000
38 +++ rc-scripts-0.4.13/hwprofile 2015-02-06 13:36:28.437314244 +0000
39 @@ -42,9 +42,6 @@ no opts      - show help
40  -f           - find proper profile and run it
41  -l           - list configured profiles
42  -q           - be quiet (used only in few modes)
43 -
44 -Please send all bug reports to:
45 -pld-rc-scripts@pld-linux.org.
46  '
47  }
48  
49 diff -urNp rc-scripts-0.4.13.orig/inittab rc-scripts-0.4.13/inittab
50 --- rc-scripts-0.4.13.orig/inittab      2014-06-10 06:55:19.000000000 +0000
51 +++ rc-scripts-0.4.13/inittab   2015-02-06 13:30:49.146314244 +0000
52 @@ -7,7 +7,7 @@
53  #              Modified for RHS Linux by Marc Ewing and Donnie Barnes
54  #
55  
56 -# Default runlevel. The runlevels used by PLD Linux are:
57 +# Default runlevel. The runlevels used by TLD Linux are:
58  #   0 - halt (Do NOT set initdefault to this)
59  #   1 - Single user mode
60  #   2 - Multiuser, without NFS (The same as 3, if you do not have networking)
61 diff -urNp rc-scripts-0.4.13.orig/lib/functions rc-scripts-0.4.13/lib/functions
62 --- rc-scripts-0.4.13.orig/lib/functions        2015-01-22 16:01:15.000000000 +0000
63 +++ rc-scripts-0.4.13/lib/functions     2015-02-06 13:30:49.147314244 +0000
64 @@ -5,7 +5,7 @@
65  #
66  # Author:      Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org>
67  # Hacked by:   Greg Galloway and Marc Ewing
68 -# Modified for PLD Linux by:
69 +# Modified for TLD Linux by:
70  #              Marek Obuchowicz <elephant@pld-linux.org>
71  #              Arkadiusz Miśkiewicz <misiek@pld-linux.org>
72  #              Michał Kochanowicz <mkochano@pld-linux.org>
73 @@ -47,7 +47,7 @@ CDONE="$GREEN"                # DONE and WORK color
74  CBUSY="$MAGENTA"       # BUSY color
75  CFAIL="$RED"           # FAIL and DIED color
76  CPOWEREDBY="$CYAN"     # "Powered by" color
77 -CPLD="$GREEN"          # "PLD Linux Distribution" color
78 +CTLD="$GREEN"          # "TLD Linux" color
79  CI="$RED"              # Capital I color (press I to enter interactive startup)
80  CRESMAN="$GREEN"       # "Resource Manager" color
81  CHARS=""               # Characters displayed on the beginning of show line
82 @@ -422,7 +422,7 @@ msg_usage() {
83         nls "Usage: %s" "$*"
84  }
85  
86 -# Some functions to handle PLD Linux-style messages
87 +# Some functions to handle TLD Linux-style messages
88  show() {
89         local text len time
90  
91 diff -urNp rc-scripts-0.4.13.orig/po/de.po rc-scripts-0.4.13/po/de.po
92 --- rc-scripts-0.4.13.orig/po/de.po     2014-06-10 06:55:19.000000000 +0000
93 +++ rc-scripts-0.4.13/po/de.po  2015-02-06 13:30:49.147314244 +0000
94 @@ -446,7 +446,7 @@ msgid " in cpuset %s..."
95  msgstr ""
96  
97  #: .././rc.d/rc.sysinit:231
98 -msgid "\t\t\t%sPowered by %sPLD Linux Distribution%s"
99 +msgid "\t\t\t%sPowered by %sTLD Linux%s"
100  msgstr ""
101  
102  #: .././rc.d/init.d/netfs:154
103 diff -urNp rc-scripts-0.4.13.orig/po/pl.po rc-scripts-0.4.13/po/pl.po
104 --- rc-scripts-0.4.13.orig/po/pl.po     2014-06-10 06:55:19.000000000 +0000
105 +++ rc-scripts-0.4.13/po/pl.po  2015-02-06 13:30:49.147314244 +0000
106 @@ -443,8 +443,8 @@ msgid " in cpuset %s..."
107  msgstr " w cpusecie %s..."
108  
109  #: .././rc.d/rc.sysinit:231
110 -msgid "\t\t\t%sPowered by %sPLD Linux Distribution%s"
111 -msgstr "\t\t\t%sNapędzane przez %sPLD Linux Distribution%s"
112 +msgid "\t\t\t%sPowered by %sTLD Linux%s"
113 +msgstr "\t\t\t%sNapędzane przez %sTLD Linux%s"
114  
115  #: .././rc.d/init.d/netfs:154
116  msgid "Active NFS mountpoints: "
117 diff -urNp rc-scripts-0.4.13.orig/po/rc-scripts.pot rc-scripts-0.4.13/po/rc-scripts.pot
118 --- rc-scripts-0.4.13.orig/po/rc-scripts.pot    2015-01-22 16:03:03.000000000 +0000
119 +++ rc-scripts-0.4.13/po/rc-scripts.pot 2015-02-06 13:30:49.148314244 +0000
120 @@ -76,7 +76,7 @@ msgid "%s for %s exiting"
121  msgstr ""
122  
123  #: .././rc.d/rc.sysinit:462
124 -msgid "\t\t\t%sPowered by %sPLD Linux Distribution%s"
125 +msgid "\t\t\t%sPowered by %sTLD Linux%s"
126  msgstr ""
127  
128  #: .././rc.d/init.d/netfs:138
129 diff -urNp rc-scripts-0.4.13.orig/rc.d/rc.sysinit rc-scripts-0.4.13/rc.d/rc.sysinit
130 --- rc-scripts-0.4.13.orig/rc.d/rc.sysinit      2015-01-22 16:01:18.000000000 +0000
131 +++ rc-scripts-0.4.13/rc.d/rc.sysinit   2015-02-06 13:30:49.149314244 +0000
132 @@ -429,7 +429,7 @@ if ! is_yes "$VSERVER" && [[ "$container
133  
134         init_selinux
135  
136 -       # PLD Linux LiveCD support
137 +       # TLD Linux LiveCD support
138         if [ -x /etc/rc.d/rc.live ]; then
139                 /etc/rc.d/rc.live
140         fi
141 @@ -460,7 +460,7 @@ fi
142  
143  
144  # Print welcome message
145 -nls "\t\t\t%sPowered by %sPLD Linux Distribution%s" "$(termput setaf $CPOWEREDBY)" "$(termput setaf $CPLD)" "$(termput op)"
146 +nls "\t\t\t%sPowered by %sTLD Linux%s" "$(termput setaf $CPOWEREDBY)" "$(termput setaf $CTLD)" "$(termput op)"
147  if ! is_no "$RC_PROMPT"; then
148         nls -n "\t\t  Press %sI%s to enter interactive startup" "$(termput setaf $CI)" "$(termput op)"
149         echo
150 diff -urNp rc-scripts-0.4.13.orig/service rc-scripts-0.4.13/service
151 --- rc-scripts-0.4.13.orig/service      2014-06-10 06:55:19.000000000 +0000
152 +++ rc-scripts-0.4.13/service   2015-02-06 13:32:51.048314244 +0000
153 @@ -123,7 +123,7 @@ status_all() {
154         done
155  }
156  
157 -VERSION="$(basename $0) ver. 0.91-pld"
158 +VERSION="$(basename $0) ver. 1.0-tld"
159  USAGE="Usage: $(basename $0) < option > | --status-all | \
160  [ service_name [ command | --full-restart ] ]"
161  
162 diff -urNp rc-scripts-0.4.13.orig/src/setuidgid.c rc-scripts-0.4.13/src/setuidgid.c
163 --- rc-scripts-0.4.13.orig/src/setuidgid.c      2013-11-02 20:50:20.000000000 +0000
164 +++ rc-scripts-0.4.13/src/setuidgid.c   2015-02-06 13:30:49.149314244 +0000
165 @@ -47,7 +47,7 @@ void die2(const char *msg1, const char *
166         exit(1);
167  }
168  void show_version() {
169 -       fprintf(stderr, "%s $Rev$ (PLD Linux rc-scripts)\n", progname);
170 +       fprintf(stderr, "%s $Rev$ (TLD Linux rc-scripts)\n", progname);
171  }
172  void version() {
173         show_version();
174 diff -urNp rc-scripts-0.4.13.orig/sysconfig/init-colors rc-scripts-0.4.13/sysconfig/init-colors
175 --- rc-scripts-0.4.13.orig/sysconfig/init-colors        2013-11-02 20:50:20.000000000 +0000
176 +++ rc-scripts-0.4.13/sysconfig/init-colors     2015-02-06 13:30:49.149314244 +0000
177 @@ -1,11 +1,11 @@
178 -# Default PLD Linux colors.
179 +# Default TLD Linux colors.
180  
181  CBRACKETS="$CYAN"      # brackets [ ] color
182  CDONE="$GREEN"         # DONE and WORK color
183  CBUSY="$MAGENTA"       # BUSY color
184  CFAIL="$RED"           # FAIL and DIED color
185  CPOWEREDBY="$CYAN"     # "Powered by" color
186 -CPLD="$GREEN"          # "PLD Linux Distribution" color
187 +CTLD="$GREEN"          # "TLD Linux" color
188  CI="$RED"              # Capital I color (press I to enter interactive startup)
189  CRESMAN="$GREEN"       # "Resource Manager" color
190  CHARS=""               # Characters displayed on the beginning of show line
191 diff -urNp rc-scripts-0.4.13.orig/sysconfig/init-colors.gentoo rc-scripts-0.4.13/sysconfig/init-colors.gentoo
192 --- rc-scripts-0.4.13.orig/sysconfig/init-colors.gentoo 2013-11-02 20:50:20.000000000 +0000
193 +++ rc-scripts-0.4.13/sysconfig/init-colors.gentoo      2015-02-06 13:30:49.149314244 +0000
194 @@ -5,7 +5,7 @@ CDONE="$GREEN $BOLD"            # DONE and WORK co
195  CBUSY="$MAGENTA $BOLD"         # BUSY color
196  CFAIL="$RED $BOLD"             # FAIL and DIED color
197  CPOWEREDBY="$BLUE $BOLD"       # "Powered by" color
198 -CPLD="$GREEN $BOLD"            # "PLD Linux Distribution" color
199 +CTLD="$GREEN $BOLD"            # "TLD Linux" color
200  CI="$RED $BOLD"                        # Capital I color (press I to enter interactive startup)
201  CRESMAN="$GREEN $BOLD"         # "Resource Manager" color
202  CHARS=" * "                    # Characters displayed on the beginning of show line
203 diff -urNp rc-scripts-0.4.13.orig/sysconfig/network rc-scripts-0.4.13/sysconfig/network
204 --- rc-scripts-0.4.13.orig/sysconfig/network    2014-06-10 06:55:19.000000000 +0000
205 +++ rc-scripts-0.4.13/sysconfig/network 2015-02-06 13:30:49.151314244 +0000
206 @@ -11,7 +11,7 @@ IPV4_NETWORKING=yes
207  # then set it in /etc/sysctl.conf
208  
209  # Set hostname here
210 -HOSTNAME=pldmachine
211 +HOSTNAME=tldlinux
212  
213  # Allow udev to create /etc/sysconfig/interfaces/ifcfg-* automatically?
214  # See /lib/udev/net_helper for details.