Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # SystemRescueCd uses an init script to start many things.
- for daemon in DMRAID FIREWIRE NET MDADM X11 PATA; do
- sed -ri "s/$daemon=\"yes\"/$daemon=\"no\"/" squashfs-root/etc/conf.d/autoconfig
- done
- # NB the DHCP entry of autoconfig is *special*…
- # It will erase your conf.d/net when it’s set to yes *as well as when it is set to no*.
- # But it won’t do anything bad, if we specify something other than ‘yes’ or ‘no’.
- sed -ri 's/DHCP=.*/DHCP="NYET, SUKA!"/' squashfs-root/etc/conf.d/autoconfig
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement