diff options
Diffstat (limited to 'recipes-qt/b2qt-addons/b2qt-emulator-sdcardmountd/sdcardmountd.sh')
-rwxr-xr-x | recipes-qt/b2qt-addons/b2qt-emulator-sdcardmountd/sdcardmountd.sh | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/recipes-qt/b2qt-addons/b2qt-emulator-sdcardmountd/sdcardmountd.sh b/recipes-qt/b2qt-addons/b2qt-emulator-sdcardmountd/sdcardmountd.sh deleted file mode 100755 index 0849cc7..0000000 --- a/recipes-qt/b2qt-addons/b2qt-emulator-sdcardmountd/sdcardmountd.sh +++ /dev/null | |||
@@ -1,49 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | ############################################################################ | ||
3 | ## | ||
4 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
5 | ## Contact: https://www.qt.io/licensing/ | ||
6 | ## | ||
7 | ## This file is part of the Boot to Qt meta layer. | ||
8 | ## | ||
9 | ## $QT_BEGIN_LICENSE:GPL$ | ||
10 | ## Commercial License Usage | ||
11 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
12 | ## accordance with the commercial license agreement provided with the | ||
13 | ## Software or, alternatively, in accordance with the terms contained in | ||
14 | ## a written agreement between you and The Qt Company. For licensing terms | ||
15 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
16 | ## information use the contact form at https://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## GNU General Public License Usage | ||
19 | ## Alternatively, this file may be used under the terms of the GNU | ||
20 | ## General Public License version 3 or (at your option) any later version | ||
21 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
22 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
23 | ## included in the packaging of this file. Please review the following | ||
24 | ## information to ensure the GNU General Public License requirements will | ||
25 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
26 | ## | ||
27 | ## $QT_END_LICENSE$ | ||
28 | ## | ||
29 | ############################################################################ | ||
30 | |||
31 | DAEMON=/usr/bin/sdcardmountd | ||
32 | |||
33 | case "$1" in | ||
34 | start) | ||
35 | start-stop-daemon --start --quiet --exec $DAEMON & | ||
36 | ;; | ||
37 | stop) | ||
38 | start-stop-daemon --stop --quiet --exec $DAEMON | ||
39 | ;; | ||
40 | restart) | ||
41 | start-stop-daemon --stop --quiet --exec $DAEMON | ||
42 | sleep 1 | ||
43 | start-stop-daemon --start --quiet --exec $DAEMON & | ||
44 | ;; | ||
45 | *) | ||
46 | echo "Usage: $0 {start|stop|restart}" | ||
47 | exit 1 | ||
48 | esac | ||
49 | exit 0 | ||