-
-
Notifications
You must be signed in to change notification settings - Fork 378
Expand file tree
/
Copy pathissue
More file actions
18 lines (14 loc) · 487 Bytes
/
issue
File metadata and controls
18 lines (14 loc) · 487 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
function f_issue {
echo "[$SCRIPT_COUNT] /etc/issue"
local TEXT
for f in /etc/issue /etc/issue.net /etc/motd; do
TEXT="\\nBy accessing this system, you consent to the following conditions:
- This system is for authorized use only.
- Any or all uses of this system and all files on this system may be monitored.
- Communications using, or data stored on, this system are not private.
"
echo -e "$TEXT" > $f
done
chmod a-x /etc/update-motd.d/*
((SCRIPT_COUNT++))
}