summaryrefslogtreecommitdiffstats
path: root/remote/modules
diff options
context:
space:
mode:
authorSimon Rettberg2013-12-02 18:03:30 +0100
committerSimon Rettberg2013-12-02 18:03:30 +0100
commitbc31ea71fe77bc9e0e448df0caa6d1d92807a912 (patch)
tree206db64d76bf1fd0717bcca304c34cebc9192965 /remote/modules
parentMerge branch 'master' of git.openslx.org:openslx-ng/tm-scripts (diff)
downloadtm-scripts-bc31ea71fe77bc9e0e448df0caa6d1d92807a912.tar.gz
tm-scripts-bc31ea71fe77bc9e0e448df0caa6d1d92807a912.tar.xz
tm-scripts-bc31ea71fe77bc9e0e448df0caa6d1d92807a912.zip
[pam] Warnings need to be hard links as vmware/windows chokes on symlinks
Diffstat (limited to 'remote/modules')
-rwxr-xr-xremote/modules/pam/data/opt/openslx/scripts/pam_script_ses_open6
1 files changed, 3 insertions, 3 deletions
diff --git a/remote/modules/pam/data/opt/openslx/scripts/pam_script_ses_open b/remote/modules/pam/data/opt/openslx/scripts/pam_script_ses_open
index c0195eeb..6b46ca0d 100755
--- a/remote/modules/pam/data/opt/openslx/scripts/pam_script_ses_open
+++ b/remote/modules/pam/data/opt/openslx/scripts/pam_script_ses_open
@@ -42,9 +42,9 @@ Your home directory contents is unavailable.
DO NOT SAVE ANYTHING HERE AS ALL WILL BE LOST UPON REBOOT!
EOF
# Try to get the user's attention (probably unsuccessful anyways)
-for ext in doc docx xls xlsx ppt pptx odt rtf wri ini inf; do
- for fname in WARNING WARNUNG ACHTUNG VORSICHT STOPP ATTENTION CAREFUL OBACHT; do
- ln -s "WARNING.txt" "${PERSISTENT_HOME_DIR}/${fname}.${ext}"
+for ext in doc xls ppt odt; do
+ for fname in WARNING ACHTUNG ATTENTION; do
+ ln "WARNING.txt" "${PERSISTENT_HOME_DIR}/${fname}.${ext}"
done
done