Unverified Commit 9450dd35 authored by David Beniamine's avatar David Beniamine
Browse files

Install cifs / smbclient

parent 7b6d6e31
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
#!/bin/bash
#apt-get -y install cifs???
if [ `dpkg -l | egrep -c "cifs-utils|smbclient"` -lt 2 ]
then
    apt-get update
    apt-get -y install cifs-utils smbclient
fi

# Remove all ^//ecole-dc lines in fstab
sed -i.bak '/^\/\/ecole-dc/d' /etc/fstab