Skip to content

Commit f39dee1

Browse files
committed
anadida mejora para problema en Ubuntu 17.10
1 parent 0ce9d87 commit f39dee1

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

aux_scripts/check_shutforced.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,14 @@ then
1414
rm $pklapath
1515
service polkit restart
1616
fi
17+
18+
#check linux distribution
19+
distro=$(grep '^ID=' /etc/os-release | cut -d = -f 2)
20+
21+
if test "$distro" = "ubuntu"
22+
then
23+
#Restart udev
24+
systemctl restart udev
1725
fi
26+
27+

0 commit comments

Comments
 (0)