Code Review
/
packages
/
trusty
/
cirros-testvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git]
/
cirros-testvm
/
src-cirros
/
buildroot-2015.05
/
package
/
radvd
/
S50radvd
diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/radvd/S50radvd
b/cirros-testvm/src-cirros/buildroot-2015.05/package/radvd/S50radvd
new file mode 100755
(executable)
index 0000000..
d3e2cd1
--- /dev/null
+++ b/
cirros-testvm/src-cirros/buildroot-2015.05/package/radvd/S50radvd
@@ -0,0
+1,18
@@
+#!/bin/sh
+
+RADVD=/usr/sbin/radvd
+
+echo "1" > /proc/sys/net/ipv6/conf/all/forwarding
+
+echo -n "Starting radvd: "
+if [ ! -x "${RADVD}" ]; then
+ echo "missing"
+ exit 1
+fi
+
+if ${RADVD} ; then
+ echo "done"
+else
+ echo "failed"
+ exit 1
+fi