summaryrefslogtreecommitdiff
path: root/data/live-build-config/hooks/live
diff options
context:
space:
mode:
Diffstat (limited to 'data/live-build-config/hooks/live')
-rwxr-xr-xdata/live-build-config/hooks/live/08-sysconf.chroot4
-rwxr-xr-xdata/live-build-config/hooks/live/10-unmountfs.chroot12
2 files changed, 0 insertions, 16 deletions
diff --git a/data/live-build-config/hooks/live/08-sysconf.chroot b/data/live-build-config/hooks/live/08-sysconf.chroot
index d403d04b..d0014745 100755
--- a/data/live-build-config/hooks/live/08-sysconf.chroot
+++ b/data/live-build-config/hooks/live/08-sysconf.chroot
@@ -1,9 +1,5 @@
#!/bin/sh
-for conf in motd.tail syslog.conf; do
- cp -f /opt/vyatta/etc/$conf /etc/$conf
-done
-
cp -f /opt/vyatta/etc/default_ssh /etc/default/ssh
>/etc/pam_radius_auth.conf
diff --git a/data/live-build-config/hooks/live/10-unmountfs.chroot b/data/live-build-config/hooks/live/10-unmountfs.chroot
deleted file mode 100755
index 7992a4d2..00000000
--- a/data/live-build-config/hooks/live/10-unmountfs.chroot
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-
-# hack umountfs script to cleanly unmount live systems
-
-sed \
- -e '/proc|procfs|linprocfs/ s/)/|squashfs|iso9660)/' \
- -e '/tmpfs)/ a\
- [ "$MTPT" != "/media" ] && \
- [ "$MTPT" != "/live" ] && \
- [ "$MTPT" != "/live/cow" ] &&
-' \
- -i /etc/init.d/umountfs