summaryrefslogtreecommitdiff
path: root/target/device/valka/target_skeleton/etc/rc.d/03.hostname
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-12-05 21:53:08 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2010-12-16 15:04:24 +0100
commit9459f037bf6dd3ee73b6a647cc83b6b98d4c7478 (patch)
treef76a35fe8e8263f295d964a516dfe3b7eb1c7e0f /target/device/valka/target_skeleton/etc/rc.d/03.hostname
parentc874dea8a2b415f1c8f92e6a653999884bf3fa02 (diff)
board: remove Valka v100sc2
This default configuration did not even build a kernel image, which is the main point of having board default configuration. So remove it. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'target/device/valka/target_skeleton/etc/rc.d/03.hostname')
-rwxr-xr-xtarget/device/valka/target_skeleton/etc/rc.d/03.hostname25
1 files changed, 0 insertions, 25 deletions
diff --git a/target/device/valka/target_skeleton/etc/rc.d/03.hostname b/target/device/valka/target_skeleton/etc/rc.d/03.hostname
deleted file mode 100755
index 5cbae3f78..000000000
--- a/target/device/valka/target_skeleton/etc/rc.d/03.hostname
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/ash
-. /etc/rc.subr
-
-start() {
- echo -n " * Settings hostname: "
- if [ ! -x ${hostname_program} ]; then
- log_error "Missing 'hostname' program (${hostname_program})"
- echo "Failed"
- return 1
- fi
-
- if ${hostname_program} ${hostname}; then
- echo "'${hostname}'"
- echo ${hostname} > /etc/hostname
- else
- echo "Failed"
- return 1
- fi
-}
-
-stop() {
- return 0
-}
-
-rc_run_command "$1"