|
1 | 1 | #!/bin/sh |
2 | | -# Name: gparted |
3 | | -# Purpose: Perform appropriate startup of GParted executable gpartedbin. |
4 | | -# |
5 | | -# The purpose of these startup methods is to prevent |
6 | | -# devices from being automounted, and to ensure only one |
7 | | -# instance of GParted is running. File system problems can |
8 | | -# occur if devices are mounted prior to the completion of |
9 | | -# GParted's operations, or if multiple partition editing |
10 | | -# tools are in use concurrently. |
11 | | -# |
12 | | -# Copyright (C) 2008, 2009, 2010, 2013, 2015 Curtis Gedak |
13 | | -# |
14 | | -# This file is part of GParted. |
15 | | -# |
16 | | -# GParted is free software; you can redistribute it and/or modify |
17 | | -# it under the terms of the GNU General Public License as published by |
18 | | -# the Free Software Foundation; either version 2 of the License, or |
19 | | -# (at your option) any later version. |
20 | | -# |
21 | | -# GParted is distributed in the hope that it will be useful, |
22 | | -# but WITHOUT ANY WARRANTY; without even the implied warranty of |
23 | | -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
24 | | -# GNU General Public License for more details. |
25 | | -# |
26 | | -# You should have received a copy of the GNU General Public License |
27 | | -# along with GParted. If not, see <http://www.gnu.org/licenses/>. |
28 | | -# |
29 | | -# This file was modified by Uniontech Technology Co., Ltd. |
30 | | - |
31 | 2 |
|
32 | 3 | if test "z`ps -e | grep deepin-diskmanager-service`" != "z"; then |
33 | | - echo "The process gpartedbin is already running." |
34 | | - echo "Only one gpartedbin process is permitted." |
| 4 | + echo "The process deepin-diskmanager-service is already running." |
| 5 | + echo "Only one deepin-diskmanager-service process is permitted." |
35 | 6 | exit 1 |
36 | 7 | fi |
37 | 8 |
|
|
0 commit comments