diff options
Diffstat (limited to 'motion.install')
-rw-r--r-- | motion.install | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/motion.install b/motion.install new file mode 100644 index 000000000000..3b7651111e7e --- /dev/null +++ b/motion.install @@ -0,0 +1,14 @@ +post_install() { + echo " ==> Add Motion to system startup wtih 'rc-update add motion default'" + echo " ==> Start Motion now with 'rc-service motion start'" + echo " ==> Edit /etc/conf.d/motion to change paths if required" + echo " ==> Motion will run as *root* by default - not recommended" +} + +post_upgrade() { + post_install "$1" +} + +pre_remove() { + echo " ==> Make sure to 'rc-update del motion default'" +} |