2015-03-29 17:27:29 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
target="$1"
|
|
|
|
|
2015-03-29 19:30:17 +02:00
|
|
|
delfiles="
|
|
|
|
$target/etc/init.d/rcK
|
|
|
|
$target/etc/init.d/S20urandom
|
|
|
|
$target/etc/init.d/S40network
|
2015-03-29 17:27:29 +02:00
|
|
|
$target/etc/securetty"
|
2015-03-29 19:30:17 +02:00
|
|
|
|
2015-03-29 17:27:29 +02:00
|
|
|
for file in $delfiles ; do
|
2015-03-29 19:30:17 +02:00
|
|
|
[ ! -e "$file" ] || rm "$file"
|
2015-03-29 17:27:29 +02:00
|
|
|
done
|
2015-03-29 19:30:17 +02:00
|
|
|
|
|
|
|
[ ! -e "$target/usr/share/getopt" ] || rm -r "$target/usr/share/getopt"
|