diff options
author | Jay Freeman <saurik@saurik.com> | 2015-10-13 13:34:54 +0000 |
---|---|---|
committer | Jay Freeman <saurik@saurik.com> | 2015-10-13 13:34:54 +0000 |
commit | 4b1aacd5d7f21c48567b4a4b7afcf0bf6fc1ab61 (patch) | |
tree | 50802dd1fb6a6d37356a53303c10b53751997674 /data/rtadvd | |
parent | 60813e41cebfabd9987028a13275d8ebfbc1d191 (diff) |
Split rtadvd out of network-cmds.
git-svn-id: http://svn.telesphoreo.org/trunk@811 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/rtadvd')
-rw-r--r-- | data/rtadvd/_metadata/depends | 1 | ||||
-rw-r--r-- | data/rtadvd/_metadata/description | 1 | ||||
-rwxr-xr-x | data/rtadvd/_metadata/extrainst_ | 8 | ||||
l--------- | data/rtadvd/_metadata/license | 1 | ||||
l--------- | data/rtadvd/_metadata/maintainer | 1 | ||||
-rw-r--r-- | data/rtadvd/_metadata/name | 1 | ||||
-rwxr-xr-x | data/rtadvd/_metadata/postrm | 8 | ||||
-rwxr-xr-x | data/rtadvd/_metadata/preinst | 8 | ||||
l--------- | data/rtadvd/_metadata/priority | 1 | ||||
-rw-r--r-- | data/rtadvd/_metadata/replaces | 1 | ||||
l--------- | data/rtadvd/_metadata/role | 1 | ||||
l--------- | data/rtadvd/_metadata/section | 1 | ||||
l--------- | data/rtadvd/_metadata/tags | 1 | ||||
l--------- | data/rtadvd/_metadata/version | 1 | ||||
-rw-r--r-- | data/rtadvd/make.sh | 2 |
15 files changed, 37 insertions, 0 deletions
diff --git a/data/rtadvd/_metadata/depends b/data/rtadvd/_metadata/depends new file mode 100644 index 000000000..638049157 --- /dev/null +++ b/data/rtadvd/_metadata/depends @@ -0,0 +1 @@ +firmware (<< 9.0) diff --git a/data/rtadvd/_metadata/description b/data/rtadvd/_metadata/description new file mode 100644 index 000000000..079bba434 --- /dev/null +++ b/data/rtadvd/_metadata/description @@ -0,0 +1 @@ +"mistakes were made" (on iOS 8) diff --git a/data/rtadvd/_metadata/extrainst_ b/data/rtadvd/_metadata/extrainst_ new file mode 100755 index 000000000..7faea1237 --- /dev/null +++ b/data/rtadvd/_metadata/extrainst_ @@ -0,0 +1,8 @@ +#!/bin/bash + +if [[ $1 == install || $1 == upgrade ]]; then + bin=/usr/sbin/rtadvd + if [[ -e "${bin}".sbin ]]; then + mv -f "${bin}"{.sbin,} || exit 1 + fi +fi diff --git a/data/rtadvd/_metadata/license b/data/rtadvd/_metadata/license new file mode 120000 index 000000000..ba8db2d02 --- /dev/null +++ b/data/rtadvd/_metadata/license @@ -0,0 +1 @@ +../../_network-cmds/_metadata/license
\ No newline at end of file diff --git a/data/rtadvd/_metadata/maintainer b/data/rtadvd/_metadata/maintainer new file mode 120000 index 000000000..3cfa6bb1c --- /dev/null +++ b/data/rtadvd/_metadata/maintainer @@ -0,0 +1 @@ +../../_network-cmds/_metadata/maintainer
\ No newline at end of file diff --git a/data/rtadvd/_metadata/name b/data/rtadvd/_metadata/name new file mode 100644 index 000000000..2180cc026 --- /dev/null +++ b/data/rtadvd/_metadata/name @@ -0,0 +1 @@ +Router Advisement Daemon diff --git a/data/rtadvd/_metadata/postrm b/data/rtadvd/_metadata/postrm new file mode 100755 index 000000000..ed3dfacdd --- /dev/null +++ b/data/rtadvd/_metadata/postrm @@ -0,0 +1,8 @@ +#!/bin/bash + +if [[ $1 == abort-install || $1 == abort-upgrade ]]; then + bin=/usr/sbin/rtadvd + if [[ -e "${bin}".sbin ]]; then + mv -f -v "${bin}"{.sbin,} || exit 1 + fi +fi diff --git a/data/rtadvd/_metadata/preinst b/data/rtadvd/_metadata/preinst new file mode 100755 index 000000000..3df017f4c --- /dev/null +++ b/data/rtadvd/_metadata/preinst @@ -0,0 +1,8 @@ +#!/bin/bash + +if [[ $1 == install || $1 == upgrade ]]; then + bin=/usr/sbin/rtadvd + if [[ -e "${bin}" ]]; then + cp -af "${bin}"{,.sbin} || exit 1 + fi +fi diff --git a/data/rtadvd/_metadata/priority b/data/rtadvd/_metadata/priority new file mode 120000 index 000000000..5818fa2cd --- /dev/null +++ b/data/rtadvd/_metadata/priority @@ -0,0 +1 @@ +../../_network-cmds/_metadata/priority
\ No newline at end of file diff --git a/data/rtadvd/_metadata/replaces b/data/rtadvd/_metadata/replaces new file mode 100644 index 000000000..3a3292abe --- /dev/null +++ b/data/rtadvd/_metadata/replaces @@ -0,0 +1 @@ +network-cmds diff --git a/data/rtadvd/_metadata/role b/data/rtadvd/_metadata/role new file mode 120000 index 000000000..40c38e1a3 --- /dev/null +++ b/data/rtadvd/_metadata/role @@ -0,0 +1 @@ +../../_network-cmds/_metadata/role
\ No newline at end of file diff --git a/data/rtadvd/_metadata/section b/data/rtadvd/_metadata/section new file mode 120000 index 000000000..50e640619 --- /dev/null +++ b/data/rtadvd/_metadata/section @@ -0,0 +1 @@ +../../_network-cmds/_metadata/section
\ No newline at end of file diff --git a/data/rtadvd/_metadata/tags b/data/rtadvd/_metadata/tags new file mode 120000 index 000000000..701c13230 --- /dev/null +++ b/data/rtadvd/_metadata/tags @@ -0,0 +1 @@ +../../_network-cmds/_metadata/tags
\ No newline at end of file diff --git a/data/rtadvd/_metadata/version b/data/rtadvd/_metadata/version new file mode 120000 index 000000000..36c438a5b --- /dev/null +++ b/data/rtadvd/_metadata/version @@ -0,0 +1 @@ +../../_network-cmds/_metadata/version
\ No newline at end of file diff --git a/data/rtadvd/make.sh b/data/rtadvd/make.sh new file mode 100644 index 000000000..c82a530b2 --- /dev/null +++ b/data/rtadvd/make.sh @@ -0,0 +1,2 @@ +pkg: mkdir -p /usr/sbin +cp -a "$(PKG_DEST_ _network-cmds)"/usr/sbin/rtadvd "${PKG_DEST}"/usr/sbin |