Advertisement
Guest User

Untitled

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