Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
Primtux-Eole
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Grenoble
Primtux-Eole
Commits
4baefc3c
Unverified
Commit
4baefc3c
authored
Dec 07, 2020
by
David Beniamine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix network mounts
parent
cca820cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
9 deletions
+10
-9
add_session_script.sh
add_session_script.sh
+10
-9
No files found.
add_session_script.sh
View file @
4baefc3c
...
...
@@ -3,17 +3,18 @@ DIR=$(realpath $(dirname $0))
USERS
=
"prof 01-cp 02-ce1-2 03-cm1-2"
for
u
in
$USERS
do
cat
<<
EOF
>/home/
$u
/.config/autostart/mounts.desktop
cat
<<
EOF
>/home/
$u
/.config/autostart/mounts.desktop
[Desktop Entry]
Version=1.0
Type=Application
Name=Montages reseau
Comment=
Exec=
$DIR
/session.sh
Icon=4137_winhlp32.0
Path=
Terminal=false
StartupNotify=false
Exec=/opt/primtux-eole/session.sh
X-GNOME-Autostart-enabled=true
NoDisplay=false
Hidden=false
Name[fr_FR]=Montages reseau
Comment[fr_FR]=Pas de description
X-GNOME-Autostart-Delay=1
X-GNOME-Autostart-enabled=true
EOF
ch
mod
+x
/home/
$u
/.config/autostart/mounts.desktop
ch
own
$u
:
$u
/home/
$u
/.config/autostart/mounts.desktop
done
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment