diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-07-17 08:01:26 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-07-17 08:01:26 +0000 |
commit | 6e428c0d94cbff633df9bbb44f91a5db2f073833 (patch) | |
tree | 32ff9454e9b8dbe866eab40db505bf6963c38e81 /main/udev-init-scripts | |
parent | c33b3d2aaeaa4f82c29acf718c4284bf5ec18275 (diff) | |
download | aports-6e428c0d94cbff633df9bbb44f91a5db2f073833.tar.bz2 aports-6e428c0d94cbff633df9bbb44f91a5db2f073833.tar.xz |
main/udev-init-scripts: add missing install scripts
Diffstat (limited to 'main/udev-init-scripts')
-rw-r--r-- | main/udev-init-scripts/udev-init-scripts.post-install | 10 | ||||
l--------- | main/udev-init-scripts/udev-init-scripts.post-upgrade | 1 |
2 files changed, 11 insertions, 0 deletions
diff --git a/main/udev-init-scripts/udev-init-scripts.post-install b/main/udev-init-scripts/udev-init-scripts.post-install new file mode 100644 index 0000000000..af7cc155b3 --- /dev/null +++ b/main/udev-init-scripts/udev-init-scripts.post-install @@ -0,0 +1,10 @@ +#!/bin/sh + +if ! [ -e /etc/runlevels/sysinit/udev ]; then + exit 0 +fi + +if ! [ /etc/runlevels/sysinit/udev-trigger ]; then + ln -s /etc/init.d/udev-trigger /etc/runlevels/sysinit/udev-trigger +fi + diff --git a/main/udev-init-scripts/udev-init-scripts.post-upgrade b/main/udev-init-scripts/udev-init-scripts.post-upgrade new file mode 120000 index 0000000000..0b54cffe15 --- /dev/null +++ b/main/udev-init-scripts/udev-init-scripts.post-upgrade @@ -0,0 +1 @@ +udev-init-scripts.post-install
\ No newline at end of file |