Fix network mounts

parent cca820cf
......@@ -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
chmod +x /home/$u/.config/autostart/mounts.desktop
chown $u:$u /home/$u/.config/autostart/mounts.desktop
done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment