Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # SVN : $Id: cmh 8758 2013-07-31 08:59:49Z florin $
- #Copyright (C) 2008 Mi Casa Verde, Inc., a Nevada Corporation
- # www.micasaverde.com
- # 1 - 702 - 4879770 / 866 - 966 - casa
- #This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License.
- #This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- #without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- START=995
- STOP=45
- start() {
- logger -t "cmh[$$]" "Starting LuaUPnP"
- #be sure we have required identification files before starting MiOS Core
- [ ! -f /proc/diag/model ] && insmod diag 2>/dev/null
- /usr/bin/Start_cmh.sh >/dev/null &>/dev/null </dev/null &
- sleep 2
- }
- stop() {
- logger -t "cmh[$$]" "Stoping LuaUPnP"
- /usr/bin/Stop_cmh.sh
- }
- restart() {
- stop
- wait $!
- start
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement