29 lines
727 B
Diff
29 lines
727 B
Diff
From e9870402136ad75706de96effc40745dc8ab0a41 Mon Sep 17 00:00:00 2001
|
|
From: peijiankang <peijiankang@kylinos.cn>
|
|
Date: Tue, 6 Jun 2023 15:06:10 +0800
|
|
Subject: [PATCH 1/2] move sambashare to usershares
|
|
|
|
---
|
|
peony-share/peony-share.sh | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/peony-share/peony-share.sh b/peony-share/peony-share.sh
|
|
index 431e747..1b181ed 100755
|
|
--- a/peony-share/peony-share.sh
|
|
+++ b/peony-share/peony-share.sh
|
|
@@ -2,9 +2,9 @@
|
|
|
|
if [ "$#" -ge 1 ];
|
|
then
|
|
- if [[ $(groups $1 | grep "sambashare") == "" ]];
|
|
+ if [[ $(groups $1 | grep "usershares") == "" ]];
|
|
then
|
|
- usermod -a -G sambashare "$1"
|
|
+ usermod -a -G usershares "$1"
|
|
fi
|
|
fi
|
|
|
|
--
|
|
2.33.0
|
|
|