diff options
author | Frans Meulenbroeks <fransmeulenbroeks@gmail.com> | 2010-10-09 16:44:53 +0200 |
---|---|---|
committer | Frans Meulenbroeks <fransmeulenbroeks@gmail.com> | 2010-10-09 16:44:53 +0200 |
commit | 713c49ed1ca44b0ee5bca7bc19b7a46bf7f6b0ae (patch) | |
tree | 000cff973c0bf9d87977ac1554d55c613729d6e6 /recipes/obsolete/omnewrotate/files | |
parent | 51d673fe1618d8f537ac18d355bcfba372f2ee38 (diff) | |
download | openembedded-713c49ed1ca44b0ee5bca7bc19b7a46bf7f6b0ae.tar.gz |
omnewrotate : moved unused files to obsolete dir
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/obsolete/omnewrotate/files')
-rw-r--r-- | recipes/obsolete/omnewrotate/files/xsession.script.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/recipes/obsolete/omnewrotate/files/xsession.script.patch b/recipes/obsolete/omnewrotate/files/xsession.script.patch new file mode 100644 index 0000000000..eb1412e458 --- /dev/null +++ b/recipes/obsolete/omnewrotate/files/xsession.script.patch @@ -0,0 +1,35 @@ +Index: omnewrotate.orig/data/omnewrotate.in +=================================================================== +--- omnewrotate.orig/data/omnewrotate.in (revision 66) ++++ omnewrotate/data/omnewrotate.in (working copy) +@@ -4,10 +4,14 @@ + . @SYSCONFDIR@/default/omnewrotate.conf + fi + +-export DIPLAY=:0 + PIDFILE="/var/run/omnewrotate.pid" + + case "$1" in ++ autostart) ++ if test "$START" == "yes" ; then ++ $0 start ++ fi ++ ;; + start) + echo -n starting omnewrotate... + /sbin/start-stop-daemon -S \ +Index: omnewrotate.orig/data/89omnewrotate.in +=================================================================== +--- omnewrotate.orig/data/89omnewrotate.in (revision 66) ++++ omnewrotate/data/89omnewrotate.in (working copy) +@@ -1,9 +1,3 @@ + #!/bin/sh + +-if [ -f @CONFIGDIR@/omnewrotate.conf ] ; then +- . @CONFIGDIR@/omnewrotate.conf +-fi +- +-if test "$START" == "yes" ; then +- exec @SYSCONFDIR@/init.d/omnewrotate start +-fi ++@SYSCONFDIR@/init.d/omnewrotate autostart |