diff options
author | Anish Mangal <anish@activitycentral.com> | 2011-12-14 12:27:33 (GMT) |
---|---|---|
committer | Anish Mangal <anish@activitycentral.com> | 2011-12-14 12:27:33 (GMT) |
commit | 8e076bed99c4d7e84a195d582a2a2865c8b89fb9 (patch) | |
tree | 6b589cba6f849762565d2605add59df7f34270ed | |
parent | 0da78a2934b3e25177c23d37f89a9193fa05f260 (diff) |
Add sugar client config custom script
-rw-r--r-- | config/sugar-client-conf.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/config/sugar-client-conf.sh b/config/sugar-client-conf.sh new file mode 100644 index 0000000..46f4b8f --- /dev/null +++ b/config/sugar-client-conf.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +# Configure sugar-client for yum based automatic updater +sugar-client-service config --update-args='--disablerepo=* --enablerepo=dextrose' > /etc/sugar-client.conf + +cat /etc/sugar-client.conf + +# Link /usr/sbin/dextrose-updater to cron.hourly/. +#ln -s /usr/sbin/dextrose-updater /etc/cron.hourly/. |