diff options
author | James Meyer <james.meyer@operamail.com> | 2013-01-11 02:09:09 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2013-01-11 02:09:09 (GMT) |
commit | 78e0cd83a2837a4f4847d41a1c2e7cbeb3a9ff09 (patch) | |
tree | 8c6790b5c73a3aa37f795f52aef214a670a5f9a7 /abs/extra/x11vnc/x11vnc.install | |
parent | 19558d2bbdf4b31e21c7707c86a077d62ab26d3c (diff) | |
download | linhes_pkgbuild-78e0cd83a2837a4f4847d41a1c2e7cbeb3a9ff09.zip linhes_pkgbuild-78e0cd83a2837a4f4847d41a1c2e7cbeb3a9ff09.tar.gz linhes_pkgbuild-78e0cd83a2837a4f4847d41a1c2e7cbeb3a9ff09.tar.bz2 |
x11vnc: .9.13
Diffstat (limited to 'abs/extra/x11vnc/x11vnc.install')
-rw-r--r-- | abs/extra/x11vnc/x11vnc.install | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/abs/extra/x11vnc/x11vnc.install b/abs/extra/x11vnc/x11vnc.install deleted file mode 100644 index 97b6048..0000000 --- a/abs/extra/x11vnc/x11vnc.install +++ /dev/null @@ -1,26 +0,0 @@ -post_install() { - if [ -f $MYTHHOME/.fluxbox/apps ] ; then - if [ -n `/bin/grep x11vnc $MYTHHOME/.fluxbox/apps` ] ; then - echo "" - echo "==> Adding x11vnc to user mythtv's ~/.fluxbox/apps" - echo "" - # Add x11vnc to ~/mythtv/.fluxbox/apps before LinHES-run - sed -i '/LinHES-run/ i [startup] {x11vnc -nap -wait 50 -passwd mythtv -display :0 -forever -o ~/.vnc/x11vnc.log -bg}' $MYTHHOME/.fluxbox/apps - else - echo "" - echo "==> x11vnc startup line already present in user" - echo "==> mythtv's ~/.fluxbox/apps" - echo "" - fi - fi -} - -pre_remove() { - # kill x11vnc - PID=`pidof -o %PPID /usr/bin/x11vnc` - [ -n "$PID" ] && kill $PID - # Remove line in .fluxbox/apps - if [ -f $MYTHHOME/.fluxbox/apps ] ; then - sed -i '/x11vnc/d' $MYTHHOME/.fluxbox/apps - fi -} |