Add debian-installer-launcher by default with some custom hook scripts
parent
4d11eb9045
commit
a5e29d3e9b
@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ -z "$(which gsettings 2>/dev/null)" ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
case $1 in
|
||||
startup)
|
||||
gsettings set org.gnome.desktop.media-handling automount-open false
|
||||
;;
|
||||
cleanup)
|
||||
gsettings reset org.gnome.desktop.media-handling automount-open
|
||||
;;
|
||||
esac
|
@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ ! -x /etc/init.d/network-manager ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
case $1 in
|
||||
startup)
|
||||
/etc/init.d/network-manager stop
|
||||
;;
|
||||
cleanup)
|
||||
/etc/init.d/network-manager start
|
||||
;;
|
||||
esac
|
Loading…
Reference in New Issue