diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-12-18 08:21:27 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-12-18 08:21:27 +0000 |
commit | a1a868a7c7f26cf02f28301e4e95ce5d042bdc5c (patch) | |
tree | ada6e2ed8372b4a759346d545c8ba7c803eaf713 /meta/packages/update-rc.d/files | |
parent | c75f6a23fd106506134e12144816bd3d218aa961 (diff) | |
download | openembedded-core-a1a868a7c7f26cf02f28301e4e95ce5d042bdc5c.tar.gz openembedded-core-a1a868a7c7f26cf02f28301e4e95ce5d042bdc5c.tar.bz2 openembedded-core-a1a868a7c7f26cf02f28301e4e95ce5d042bdc5c.tar.xz openembedded-core-a1a868a7c7f26cf02f28301e4e95ce5d042bdc5c.zip |
update-rc.d: added forgotten patch
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3341 311d38ba-8fff-0310-9ca6-ca027cbcb966
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, 47 insertions, 0 deletions
diff --git a/meta/packages/update-rc.d/files/add-verbose.patch b/meta/packages/update-rc.d/files/add-verbose.patch new file mode 100644 index 000000000..0f068308f --- /dev/null +++ b/meta/packages/update-rc.d/files/add-verbose.patch @@ -0,0 +1,47 @@ +--- update-rc.d/update-rc.d.org 2005-01-03 00:30:47.000000000 +0200 ++++ update-rc.d/update-rc.d 2007-12-01 19:41:08.000000000 +0200 +@@ -19,6 +19,7 @@ + notreally=0 + force=0 + dostart=0 ++verbose=0 + + usage() + { +@@ -28,6 +29,7 @@ + update-rc.d [-n] [-r <root>] [-s] <basename> start|stop NN runlvl [runlvl] [...] . + -n: not really + -f: force ++ -v: verbose + -r: alternate root path (default is /) + -s: invoke start methods if appropriate to current runlevel + EOF +@@ -69,7 +71,7 @@ + lev=`echo $2 | cut -d/ -f1` + nn=`echo $2 | cut -d/ -f2` + fn="${etcd}${lev}.d/${startstop}${nn}${bn}" +- echo " $fn -> ../init.d/$bn" ++ [ $verbose -eq 1 ] && echo " $fn -> ../init.d/$bn" + if [ $notreally -eq 0 ]; then + mkdir -p `dirname $fn` + ln -s ../init.d/$bn $fn +@@ -89,7 +91,7 @@ + exit 0 + fi + +- echo " Adding system startup for $initd/$bn ..." ++ echo " Adding system startup for $initd/$bn." + + for i in $startlinks; do + dolink S $i +@@ -105,6 +107,10 @@ + shift + continue + ;; ++ -v) verbose=1 ++ shift ++ continue ++ ;; + -f) force=1 + shift + continue |