blob: 251bcf2677c0b462c80eee4e2f991becd975466e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
post_install() {
echo "Before you can enroll your device, you need to enable the service and timer and then reboot:"
echo "'sudo systemctl enable intune-daemon.service'"
echo "'systemctl --user enable intune-agent.service intune-agent.timer gnome-keyring-daemon.socket gnome-keyring-daemon.service'"
echo "Don't forget to reboot after running the above commands!"
# Replace the os-release file, since Intune currently only supports Ubuntu systems
mv /etc/os-release /etc/os-release.bak #backup current link file
cp /opt/microsoft/intune/share/os-release /etc/os-release #place Ubuntu based os-release file
}
post_remove() {
# Put back original os-release file
mv /etc/os-release.bak /etc/os-release
}
|