Skip to content

Instantly share code, notes, and snippets.

View dennmtr's full-sized avatar

Dionisis Mitropoulos dennmtr

  • Athens, Greece
  • 19:19 (UTC +03:00)
View GitHub Profile
@abythell
abythell / udisks-glue
Last active October 19, 2016 18:12
Debian/Ubuntu LSB init script for udisks-glue (automount removable media). To use/install, make the script executable, copy to /etc/init.d/udisks-glue, then run "update-rc.d udisks-glue defaults"
#!/bin/bash
### BEGIN INIT INFO
# Provides: udisks-glue
# Required-Start: $local_fs
# Required-Stop: $local_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: udisks-glue automounter
# Description: Automounts removable media