diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2014-09-25 16:48:37 +0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-09-26 05:42:54 +0200 |
commit | 3468c59c5cc382a66621bace78648479dc853db0 (patch) | |
tree | e8e676e8c0759e49241b7845ddc5b1481dad07b3 /meta-oe/recipes-extended/smartmontools/files/smartmontools.default | |
parent | 9ff03613176e6468d612ae95a392df583cd8f7ba (diff) | |
download | meta-openembedded-contrib-3468c59c5cc382a66621bace78648479dc853db0.tar.gz |
smartmontools: fix for its SysV init script
Changes include:
1. Make it run at runlevel 2, 3, 4 and 5 by default.
2. Add /etc/default/smartmontools, just as Ubuntu does.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended/smartmontools/files/smartmontools.default')
-rw-r--r-- | meta-oe/recipes-extended/smartmontools/files/smartmontools.default | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/smartmontools/files/smartmontools.default b/meta-oe/recipes-extended/smartmontools/files/smartmontools.default new file mode 100644 index 0000000000..602e00beb1 --- /dev/null +++ b/meta-oe/recipes-extended/smartmontools/files/smartmontools.default @@ -0,0 +1,6 @@ +# uncomment to start smartd on system startup for SysV init script +# For systemd service file, use `systemctl enable smartd'. +#start_smartd=yes + +# uncomment to pass additional options to smartd on startup +#smartd_opts="--interval=1800" |