diff options
Diffstat (limited to 'data/live-build-config/hooks/live')
-rwxr-xr-x | data/live-build-config/hooks/live/08-sysconf.chroot | 4 | ||||
-rwxr-xr-x | data/live-build-config/hooks/live/10-unmountfs.chroot | 12 |
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 |