summaryrefslogtreecommitdiffstats
path: root/abs/core/LinHES-config/xconfig.cron
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2015-01-12 18:11:28 (GMT)
committerBritney Fransen <brfransen@gmail.com>2015-01-12 18:11:28 (GMT)
commitc93ca2d34629de7b0d6c6a98711738cb613671cc (patch)
tree71ec87f83d1b552ea551debf6d18fc416707ab69 /abs/core/LinHES-config/xconfig.cron
parent56f39a2fbee1111b44cec4f9c34c6cfa084980e1 (diff)
downloadlinhes_pkgbuild-c93ca2d34629de7b0d6c6a98711738cb613671cc.zip
linhes_pkgbuild-c93ca2d34629de7b0d6c6a98711738cb613671cc.tar.gz
linhes_pkgbuild-c93ca2d34629de7b0d6c6a98711738cb613671cc.tar.bz2
LinHES-config: xconfig.sh: install nvidia and legacy nvidia driver. refs #986
xconfig.cron: run xconfig.sh from cron and then remove cron job. Used from nvidia post_upgrade install.
Diffstat (limited to 'abs/core/LinHES-config/xconfig.cron')
-rwxr-xr-xabs/core/LinHES-config/xconfig.cron7
1 files changed, 7 insertions, 0 deletions
diff --git a/abs/core/LinHES-config/xconfig.cron b/abs/core/LinHES-config/xconfig.cron
new file mode 100755
index 0000000..ec44803
--- /dev/null
+++ b/abs/core/LinHES-config/xconfig.cron
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+/usr/MythVantage/bin/xconfig.sh >> /dev/null 2>&1 &
+#remove xconfig.cron from root crontab
+grep -v "* * * * * /usr/bin/bash /usr/MythVantage/bin/xconfig.cron" /var/spool/cron/root > /var/spool/cron/root2
+mv /var/spool/cron/root2 /var/spool/cron/root
+echo "root" >> /var/spool/cron/cron.update