summaryrefslogtreecommitdiffstats
path: root/target/device/valka/target_skeleton/etc/rc.d/nbd_swap
diff options
context:
space:
mode:
authorThomas Petazzoni2010-12-05 21:53:08 +0100
committerPeter Korsgaard2010-12-16 15:04:24 +0100
commit9459f037bf6dd3ee73b6a647cc83b6b98d4c7478 (patch)
treef76a35fe8e8263f295d964a516dfe3b7eb1c7e0f /target/device/valka/target_skeleton/etc/rc.d/nbd_swap
parentboard: remove atstk1005_defconfig (diff)
downloadbuildroot-9459f037bf6dd3ee73b6a647cc83b6b98d4c7478.tar.gz
buildroot-9459f037bf6dd3ee73b6a647cc83b6b98d4c7478.tar.xz
buildroot-9459f037bf6dd3ee73b6a647cc83b6b98d4c7478.zip
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/nbd_swap')
-rwxr-xr-xtarget/device/valka/target_skeleton/etc/rc.d/nbd_swap31
1 files changed, 0 insertions, 31 deletions
diff --git a/target/device/valka/target_skeleton/etc/rc.d/nbd_swap b/target/device/valka/target_skeleton/etc/rc.d/nbd_swap
deleted file mode 100755
index b2a4a9c25..000000000
--- a/target/device/valka/target_skeleton/etc/rc.d/nbd_swap
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/ash
-. /etc/rc.subr
-
-start() {
- echo -n " * Starting nbd swap: "
- if [ ! -x ${nbd_swap_program} ]; then
- log_error "Missing 'nbd_client' program (${nbd_swap_program})"
- echo "Failed"
- return 1
- fi
-
- mknod ${nbd_swap_device} b 43 0
- ${nbd_swap_program} ${nbd_swap_server} ${nbd_swap_port} ${nbd_swap_device} &
- pid=$!
- if [ "$?" -eq 0 ]; then
- echo "${pid}" > ${nbd_swap_pidfile}
- mkswap ${nbd_swap_device}
- swapon ${nbd_swap_device}
- echo "Ok"
- else
- echo "Failed"
- fi
-}
-
-stop() {
- echo " * Stopping nbd swap..."
- swapoff ${nbd_swap_device}
- killpid ${nbd_swap_pidfile}
-}
-
-rc_run_command "$1" "nbd_swap"