Skip to content

Commit a5d6954

Browse files
committed
remove check for student group on systemd user services
1 parent 55dfe2e commit a5d6954

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

systemd/user/codam-web-greeter-cleanup.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,6 @@
33
# Exit on error
44
set -e
55

6-
# Only run for users in the student or piscine group
7-
if ! /usr/bin/groups | /usr/bin/grep -qE '(student|piscine)'; then
8-
/usr/bin/echo "Not running for user $(/usr/bin/whoami)"
9-
exit 0
10-
fi
11-
126
TMP_WALLPAPER_PATH="/tmp/codam-web-greeter-user-wallpaper"
137
TMP_AVATAR_PATH="/tmp/codam-web-greeter-user-avatar"
148

systemd/user/codam-web-greeter-init.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,6 @@
33
# Exit on error
44
set -e
55

6-
# Only run for users in the student or piscine group
7-
if ! /usr/bin/groups | /usr/bin/grep -qE '(student|piscine)'; then
8-
/usr/bin/echo "Not running for user $(/usr/bin/whoami)"
9-
exit 0
10-
fi
11-
126
FACE_PATH="$HOME/.face"
137
TMP_WALLPAPER_PATH="/tmp/codam-web-greeter-user-wallpaper"
148
TMP_AVATAR_PATH="/tmp/codam-web-greeter-user-avatar"

0 commit comments

Comments
 (0)