diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-16 22:00:22 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-16 22:00:22 +0000 |
commit | 668ae67a4fa15e65e26d1c5f480061fe07e4b9db (patch) | |
tree | f917106e065295e6c365be39aee077760e56ff1d /meta/packages/update-rc.d/files | |
parent | d89b641578a4b3ef3dbe168e59e47cf6d4f1cc5d (diff) | |
download | poky-668ae67a4fa15e65e26d1c5f480061fe07e4b9db.tar.gz |
update-rc.d: Add native version, add native dependency to class, convert staging function
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/update-rc.d/files')
-rw-r--r-- | meta/packages/update-rc.d/files/add-verbose.patch | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/meta/packages/update-rc.d/files/add-verbose.patch b/meta/packages/update-rc.d/files/add-verbose.patch deleted file mode 100644 index 0f068308f6..0000000000 --- a/meta/packages/update-rc.d/files/add-verbose.patch +++ /dev/null | |||
@@ -1,47 +0,0 @@ | |||
1 | --- update-rc.d/update-rc.d.org 2005-01-03 00:30:47.000000000 +0200 | ||
2 | +++ update-rc.d/update-rc.d 2007-12-01 19:41:08.000000000 +0200 | ||
3 | @@ -19,6 +19,7 @@ | ||
4 | notreally=0 | ||
5 | force=0 | ||
6 | dostart=0 | ||
7 | +verbose=0 | ||
8 | |||
9 | usage() | ||
10 | { | ||
11 | @@ -28,6 +29,7 @@ | ||
12 | update-rc.d [-n] [-r <root>] [-s] <basename> start|stop NN runlvl [runlvl] [...] . | ||
13 | -n: not really | ||
14 | -f: force | ||
15 | + -v: verbose | ||
16 | -r: alternate root path (default is /) | ||
17 | -s: invoke start methods if appropriate to current runlevel | ||
18 | EOF | ||
19 | @@ -69,7 +71,7 @@ | ||
20 | lev=`echo $2 | cut -d/ -f1` | ||
21 | nn=`echo $2 | cut -d/ -f2` | ||
22 | fn="${etcd}${lev}.d/${startstop}${nn}${bn}" | ||
23 | - echo " $fn -> ../init.d/$bn" | ||
24 | + [ $verbose -eq 1 ] && echo " $fn -> ../init.d/$bn" | ||
25 | if [ $notreally -eq 0 ]; then | ||
26 | mkdir -p `dirname $fn` | ||
27 | ln -s ../init.d/$bn $fn | ||
28 | @@ -89,7 +91,7 @@ | ||
29 | exit 0 | ||
30 | fi | ||
31 | |||
32 | - echo " Adding system startup for $initd/$bn ..." | ||
33 | + echo " Adding system startup for $initd/$bn." | ||
34 | |||
35 | for i in $startlinks; do | ||
36 | dolink S $i | ||
37 | @@ -105,6 +107,10 @@ | ||
38 | shift | ||
39 | continue | ||
40 | ;; | ||
41 | + -v) verbose=1 | ||
42 | + shift | ||
43 | + continue | ||
44 | + ;; | ||
45 | -f) force=1 | ||
46 | shift | ||
47 | continue | ||