We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 906ba61 commit 8cfebd6Copy full SHA for 8cfebd6
Makefile
@@ -9,16 +9,18 @@ MSCS_COMPLETION := /etc/bash_completion.d/mscs
9
10
UPDATE_D := $(wildcard update.d/*)
11
12
-.PHONY: install update clean
+.PHONY: install adduser update clean
13
14
-install: update
15
- useradd --system --user-group --create-home -K UMASK=0022 --home $(MSCS_HOME) $(MSCS_USER)
+install: adduser update
16
if which systemctl; then \
17
systemctl -f enable mscs.service; \
18
else \
19
ln -s $(MSCS) $(MSCS_INIT_D); \
20
update-rc.d mscs defaults; \
21
fi
+
22
+adduser:
23
+ useradd --system --user-group --create-home -K UMASK=0022 --home $(MSCS_HOME) $(MSCS_USER)
24
25
update:
26
install -m 0755 msctl $(MSCTL)
0 commit comments