remove /var/db/dhcpcd dir and link to /tmp
Signed-off-by: Michel-FK <michel.stempin@funkey-project.com>
This commit is contained in:
parent
4d5c54164b
commit
0f38d4ebe5
|
@ -11,6 +11,10 @@ rm -f ${TARGET_DIR}/etc/init.d/S01syslogd ${TARGET_DIR}/etc/init.d/S02klogd
|
|||
rm -rf ${TARGET_DIR}/var/lib/dhcp/
|
||||
ln -s /tmp ${TARGET_DIR}/var/lib/dhcp
|
||||
|
||||
# Remove dhcpcd dir and link to /tmp
|
||||
rm -rf ${TARGET_DIR}/var/db/dhcpcd/
|
||||
ln -s /tmp ${TARGET_DIR}/var/db/dhcpcd
|
||||
|
||||
# Redirect drobear keys to /tmp
|
||||
rm -rf ${TARGET_DIR}/etc/dropbear
|
||||
ln -s /tmp ${TARGET_DIR}/etc/dropbear
|
||||
|
|
|
@ -11,6 +11,10 @@ rm -f ${TARGET_DIR}/etc/init.d/S01syslogd ${TARGET_DIR}/etc/init.d/S02klogd
|
|||
rm -rf ${TARGET_DIR}/var/lib/dhcp/
|
||||
ln -s /tmp ${TARGET_DIR}/var/lib/dhcp
|
||||
|
||||
# Remove dhcpcd dir and link to /tmp
|
||||
rm -rf ${TARGET_DIR}/var/db/dhcpcd/
|
||||
ln -s /tmp ${TARGET_DIR}/var/db/dhcpcd
|
||||
|
||||
# Change dropbear init sequence
|
||||
mv ${TARGET_DIR}/etc/init.d/S50dropbear ${TARGET_DIR}/etc/init.d/S42dropbear
|
||||
|
||||
|
|
Loading…
Reference in New Issue