summaryrefslogtreecommitdiff
path: root/app-misc/g15daemon/files/g15daemon-hotplug
blob: 2ae8be0bde01ce320ead31e4c4a321cafda3a532 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

export IN_HOTPLUG=1

case "$ACTION" in
    "add")
        /etc/init.d/g15daemon --quiet restart
        ;;
    "remove")
        /etc/init.d/g15daemon --quiet stop
        ;;
    *)
        exit 0
        ;;
esac